/* Account Page Styles - Minimal overrides for main.css and recipes.css base */

.auth-container, .profile-container {
    position: relative;
    max-width: 420px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, .4);
    background-color: #141414;
    margin: 40px auto;
    padding: 40px;
    text-align: center;
}

.profile-container {
    max-width: 600px;
    text-align: left;
}

.auth-container h2, .profile-info h2 {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 21px;
    font-weight: normal;
    color: #FFA600;
}

.auth-container h2:hover, .profile-info h2:hover {
    color: #FFBB00;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: #ccc;
}

input[type="text"], input[type="password"] {
    background-color: #141414;
    color: white;
    width: 100%;
    height: 45px;
    border: 1px solid #FFA600;
    border-radius: 10px;
    font-size: 16px;
    padding: 0 15px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

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

/* Overriding global button style from main.css */
.auth-btn {
    width: 100%;
    font-weight: normal;
}

.auth-switch {
    margin-top: 20px;
    font-size: 14px;
    color: #aaa;
}

.auth-switch a {
    color: #FFA600;
    font-weight: normal;
}

.auth-switch a:hover {
    color: #FFBB00;
    text-decoration: underline;
}

.profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}

.profile-info p {
    color: #aaa;
    margin-top: 5px;
}

.action-card {
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #333;
}

.action-card h3 {
    margin: 0 0 15px;
    font-size: 18px;
    color: #FFA600;
}

.danger-zone {
    margin-top: 40px;
    padding: 20px;
    border: 1px solid #ff444455;
    border-radius: 12px;
    background-color: #ff44440a;
}

.danger-zone h3 {
    color: #ff4444;
}

.logout-btn {
    background: #666; 
    border: 1px solid #888;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.3s;
    font-weight: normal;
    width: auto;
    height: auto;
}

.logout-btn:hover {
    background-color: #555;
}

#authMessage, #profileMessage {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    display: none;
    text-align: center;
    font-weight: normal;
}

.msg-error { background: rgba(255, 68, 68, 0.1); color: #ff4444; border: 1px solid #ff4444; }
.msg-success { background: rgba(0, 255, 136, 0.1); color: #00ff88; border: 1px solid #00ff88; }

.hidden { display: none !important; }

@media (max-width: 600px) {
    .auth-container, .profile-container {
        margin: 20px 10px;
        padding: 20px;
        width: auto;
    }
}


