/**
 * Authentication Pages Styles - Steam XMR Store  
 * Specific styles for login.php and register.php
 */


.auth_page_frame {
    max-width: 500px; 
    margin: 0 auto; 
    padding: 20px; 
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
    position: relative;
}

.auth_page_content {
    max-width: 100%; 
    margin: 0; 
    padding: 0; 
}


.profile_section_container {
    background: linear-gradient(135deg, rgba(23, 26, 33, 0.95) 0%, rgba(16, 20, 31, 0.95) 100%);
    border: 1px solid rgba(102, 192, 244, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    max-width: 100%; 
    margin-left: auto;
    margin-right: auto;
}

.section_header h2 {
    color: #66c0f4;
    font-size: 20px; 
    font-weight: 300;
    margin: 0 0 15px 0; 
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 2px solid rgba(102, 192, 244, 0.3);
    padding-bottom: 10px; 
    text-align: center; 
}


.profile_info_grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr 1fr; 
    gap: 10px; 
    margin-bottom: 15px; 
    max-width: 100%; 
}

.profile_info_item {
    background: rgba(40, 71, 93, 0.5);
    border: 1px solid rgba(102, 192, 244, 0.2);
    border-radius: 6px;
    padding: 12px; 
    transition: all 0.3s ease;
    min-height: 75px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.profile_info_item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 192, 244, 0.2);
    border-color: #66c0f4;
}

.info_label {
    color: #8f98a0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.info_value {
    color: #66c0f4;
    font-size: 14px; 
    font-weight: 600;
    line-height: 1.3;
}

.profile_form {
    display: flex;
    flex-direction: column;
    gap: 12px; 
    max-width: 100%; 
}

.form_row {
    display: flex;
    flex-direction: column;
}

.form_group {
    display: flex;
    flex-direction: column;
}

.form_label {
    color: #c7d5e0;
    font-size: 14px; 
    font-weight: 600;
    margin-bottom: 6px; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form_input {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(102, 192, 244, 0.3);
    border-radius: 6px;
    padding: 10px 12px; 
    color: #c7d5e0;
    font-family: inherit;
    font-size: 14px; 
    transition: all 0.3s ease;
}

.form_input:focus {
    outline: none;
    border-color: #66c0f4;
    box-shadow: 0 0 15px rgba(102, 192, 244, 0.3);
    background: rgba(0, 0, 0, 0.6);
}

.profile_actions {
    display: flex;
    gap: 10px; 
    flex-wrap: wrap;
    justify-content: center; 
    margin-top: 10px; 
}

.profile_actions .btn_buy {
    min-width: 140px; 
    width: auto;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px 16px; 
}


.auth_message.success {
    background: rgba(92, 184, 92, 0.2);
    border: 1px solid #5cb85c;
    color: #5cb85c;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    font-weight: 600;
}

.auth_message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid #f44336;
    color: #f44336;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    font-weight: 600;
}


@media (max-width: 768px) {
    .auth_page_frame {
        max-width: 100%; 
        padding: 15px;
    }
    
    .profile_section_container {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    
    .profile_info_grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .profile_info_item {
        padding: 10px;
        min-height: 70px;
    }
    
    .info_value {
        font-size: 13px;
    }
    
    .profile_actions {
        flex-direction: column;
    }
    
    .profile_actions .btn_buy {
        min-width: auto;
        width: auto;
    }
}

@media (max-width: 480px) {
    .auth_page_frame {
        max-width: 100%;
        padding: 10px;
    }
    
    .profile_section_container {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .section_header h2 {
        font-size: 18px;
        letter-spacing: 1px;
    }
    
    
    .profile_info_grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 8px;
    }
    
    .profile_info_item {
        padding: 10px;
        min-height: 60px;
    }
    
    .info_value {
        font-size: 12px;
    }
}
