.register-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.register-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.register-popup-modal {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 1);
    width: 90%;
    max-width: 480px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.register-popup-overlay.show .register-popup-modal {
    transform: scale(1) translateY(0);
}

.register-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: #555;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.register-popup-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
    transform: rotate(90deg);
}

.register-popup-content {
    display: flex;
    flex-direction: column;
}

.register-popup-image-container {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #f6f8fb 0%, #e5ebf4 100%);
    overflow: hidden;
    position: relative;
}

.register-popup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.register-popup-modal:hover .register-popup-img {
    transform: scale(1.05);
}

.register-popup-body {
    padding: 30px;
    text-align: center;
}

.register-popup-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 12px;
    line-height: 1.2;
}

.register-popup-text {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 25px;
    line-height: 1.6;
}

.register-popup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
}

.register-popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 86, 179, 0.4);
    background: linear-gradient(135deg, #0069d9 0%, #0056b3 100%);
}

.register-popup-btn:active {
    transform: translateY(0);
}
