/* Account Page Styles */

.main-section {
    flex: 1;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-left: 37vh;
}

.main-col1, .main-col2 {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-col1 {
    flex: 2;
    min-width: 300px;
}

.main-col2 {
    flex: 1;
    min-width: 250px;
}

.profile-name {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.profile {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
    text-align: center;
}

.profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-upload-form {
    position: absolute;
    bottom: 0;
    right: 0;
}

.upload-btn {
    background: #4E4747;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    margin-right: 10px;
    margin-bottom: 10px;
}

.upload-btn:hover {
    background: #333;
}

.profile-name h1 {
    font-size: 24px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-name h1 i {
    cursor: pointer;
    color: #4E4747;
    transition: color 0.3s;
}

.profile-name h1 i:hover {
    color: #333;
}

.information-container {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #666;
}

.editable-field {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.editable-field:not([readonly]) {
    border-color: #4E4747;
    background: #fff;
}

.editable-field[readonly] {
    background: #f9f9f9;
    cursor: default;
}

.form-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.btn-save, .btn-cancel {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-save {
    background: #4E4747;
    color: white;
}

.btn-save:hover {
    background: #333;
}

.btn-cancel {
    background: #ddd;
    color: #333;
}

.btn-cancel:hover {
    background: #ccc;
}

.address-info {
    margin-top: 20px;
}

.address-info p {
    color: #666;
    margin: 0 0 5px 0;
}

.address-info h5 {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #333;
}

.no-address {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 1rem 0;
}

.no-address p {
    color: #666;
    margin-bottom: 1rem;
}

.btn-add-address {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background: #4E4747;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-add-address:hover {
    background: #333;
}

.alert {
    padding: 15px;
    margin: 20px;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.guest-message {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 1rem 0;
}

.guest-message h2 {
    color: #333;
    margin-bottom: 1rem;
}

.guest-message p {
    color: #666;
    margin-bottom: 1.5rem;
}

.guest-message ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.guest-message li {
    color: #555;
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.guest-message li:before {
    content: "✓";
    color: #28a745;
    position: absolute;
    left: 0;
}

.btn-signin {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: black;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-signin-large {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: black;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem;
    transition: background 0.3s;
}
.signup-container a {
    font-size: .9rem;
    width: 30vh;
}

/* Responsive Design */
@media (max-width: 768px) {
   
    
    .main-section {
        flex-direction: column;
        padding-left: 4vh;
    }
    
    .main-col1, .main-col2 {
        width: 100%;
        padding-left: 4vh;
    }
    
    .profile-name {
        flex-direction: column;
        text-align: center;
    }
    
    .form-actions {
        margin-top: 0;
        flex-direction: column;
    }
    .form-actions button {
        margin-top: 1vh;
    }
    
    .btn-save, .btn-cancel {
        width: 100%;
    }
}