/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

#auth-modal, .dashboard-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    box-sizing: border-box;
}

.logo {
    width: 60px;
    height: 60px;
    color: #667eea;
    margin-bottom: 20px;
}

h1 {
    margin-top: 0;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 10px;
}

p {
    color: #777;
    margin-bottom: 30px;
}

.auth-section {
    margin-bottom: 20px;
    text-align: left;
}

.auth-section h3 {
    margin-bottom: 15px;
    color: #555;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

input[type="email"],
input[type="password"],
input[type="tel"],
input[type="text"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
}

.phone-input-container {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding-left: 12px;
    margin-bottom: 12px;
}

.phone-input-container:focus-within {
    border-color: #667eea;
}

.country-code {
    font-weight: 600;
    color: #555;
}

#phone-number {
    border: none;
    margin-bottom: 0;
    padding-left: 8px;
}

#phone-number:focus {
    outline: none;
    border: none;
}

button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background-color: #667eea;
    color: white;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin: 5px 0;
    width: 100%;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #5a6ed8;
}

.button-group {
    display: flex;
    gap: 10px;
}

.button-group button {
    width: 50%;
}

.separator {
    margin: 25px 0;
    color: #aaa;
    font-weight: bold;
    display: flex;
    align-items: center;
    text-align: center;
}
.separator::before, .separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}
.separator:not(:empty)::before {
    margin-right: .25em;
}
.separator:not(:empty)::after {
    margin-left: .25em;
}


#recaptcha-container {
    margin: 10px auto;
}

.error {
    color: #e74c3c;
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}

#logout-button {
    background-color: #e74c3c;
}

#logout-button:hover {
    background-color: #c0392b;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#google-signin {
    background-color: #db4437;
}
#google-signin:hover {
    background-color: #c23321;
}

#github-signin {
    background-color: #333;
}
#github-signin:hover {
    background-color: #222;
}

.dashboard-container h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.dashboard-container p {
    font-size: 18px;
    color: #555;
}

#user-profile {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

#user-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #667eea;
}

#user-name {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

#user-email {
    font-size: 16px;
    color: #777;
    margin: 5px 0 10px 0;
}

#user-provider {
    font-size: 14px;
    color: #aaa;
    font-style: italic;
}
