* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.container {
    display: flex;
    box-shadow: 0 10px 80px white;
    width: 900px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.container:hover {
    box-shadow: 0 20px 120px #AFDDFF;
    transform: translateY(-5px);
}

.left-panel {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background-color: black;
}

.right-panel {
    flex: 1;
    background-color: #000000;
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-container {
    max-width: 100%;
    margin-bottom: 20px;
    text-align: center;
}

.video-container video {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.secure-tag {
    display: inline-block;
    border: 2px solid #0066ff;
    color: #0066ff;
    padding: 5px 20px;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 20px;
}

.gear {
    position: absolute;
    top: 40px;
    right: 40px;
    color: #0066ff;
    font-size: 40px;
}

.welcome {
    font-size: 42px;
    margin-bottom: 40px;
    font-weight: 600;
}

.input-field {
    background-color: white;
    padding: 15px 20px;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 15px;
    border: none;
    font-size: 16px;
}

.input-field::placeholder {
    color: #c0c0c0;
}

.password-container {
    position: relative;
    margin-bottom: 5px;
    justify-content: center;
}

.password-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    padding-bottom: 10px;
}

.password-strength {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.password-strength span {
    margin-right: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.strength-meter-container {
    flex-grow: 1;
    display: flex;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.strength-meter {
    height: 100%;
    width: 0;
    background-color: #ffd700;
    transition: width 0.3s ease;
}

.password-rules {
    margin-bottom: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.password-rule {
    display: flex;
    align-items: center;
    margin-bottom: 3px;
}

.rule-icon {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

.rule-icon.valid {
    background-color: #4CAF50;
    color: white;
}

.create-btn {
    background-color: #ffd700;
    color: #333;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-bottom: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.create-btn:hover {
    background-color: #a31ade;
    color: white;
}

.signin-btn {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.signin-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.shield-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.people-icon {
    margin-bottom: 20px;
}

#error-message {
    color: #ff6b6b;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

#success-message {
    color: #6bff6b;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

/* Loader Styles */
.loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #333;
    animation: spin 1s ease-in-out infinite;
}

.signin-btn .loader {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: white;
}

.button-text {
    transition: opacity 0.3s ease;
    
}

.loading .button-text {
    opacity: 0;
}

.loading .loader {
    display: block;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* OAuth Buttons Styling for Registration */
.oauth-container {
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid #374151;
    border-bottom: 1px solid #374151;
}

.oauth-divider {
    text-align: center;
    margin: 1rem 0;
    color: #9ca3af;
    font-size: 0.9rem;
}

.oauth-btn {
    width: 100%;
    padding: 12px 16px;
    margin: 8px 0;
    border: 1px solid #4b5563;
    border-radius: 8px;
    background-color: #1f2937;
    color: #f9fafb;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
}

.oauth-btn:hover {
    background-color: #374151;
    border-color: #6b7280;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.oauth-btn:active {
    transform: translateY(0);
}

.oauth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.oauth-btn:disabled:hover {
    background-color: #1f2937;
    border-color: #4b5563;
    transform: none;
    box-shadow: none;
}

.google-btn {
    border-color: #ea4335;
    background-color: #1f2937;
}

.google-btn:hover:not(:disabled) {
    background-color: #2d1b1b;
    border-color: #dc2626;
}

.apple-btn {
    background-color: #000;
    color: white;
    border-color: #374151;
}

.apple-btn:hover:not(:disabled) {
    background-color: #1f2937;
    border-color: #6b7280;
}

.oauth-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.auth-loader {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid #4b5563;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.auth-btn-text {
    flex: 1;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        width: 95%;
    }

    .left-panel,
    .right-panel {
        padding: 30px;
    }
}


