/* PROFILE PAGE STYLING */
.user-profile {
    max-width: 350px;
    margin: 2rem auto;
    text-align: left;
    padding: 0 15px;
}

.profile-card {
    width: 100%;
    height: 500px;
    margin: 0 auto 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: relative;
    background: #f5f5f5;
}

.profile-card .profile-image-container {
    width: 100%;
    height: 100%;
}

.profile-card .avatar {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.profile-info {
    padding: 0;
}

.profile-info h2 {
    font-size: 2rem;
    margin: 1rem 0;
    color: #333;
    text-align: left;
}

.profile-details {
    text-align: left;
    margin-top: 20px;
}

.detail-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.detail-row .material-icons {
    color: #666;
    font-size: 20px;
    margin-right: 10px;
}

.detail-label {
    font-weight: bold;
    width: 100px;
    color: #555;
}

.detail-value {
    flex: 1;
    color: #333;
    font-size: 16px;
}

/* Profile actions container */
.profile-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #fff;
}

/* Unified button styling */
.message-button, .unmatch-link {
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
    margin-bottom: 20px;
}

.message-button {
    background: #c03732;
    color: white !important;
    border: 1px solid #c03732;
    width: 48% !important;
}

.message-button:hover {
    background: #a0302a;
    border-color: #a0302a;
}

/* Unmatch button specific */
.unmatch-link {
    background: white;
    color: #c03732;
    border: 1px solid #c03732;
    width: 48% !important;
}

.unmatch-link:hover {
    background: #f8f8f8;
    color: #a0302a;
    border-color: #a0302a;
}

/* Separator styling */
.action-separator {
    color: #ddd;
    font-weight: 300;
}
/* Profile Page Styles */
.profile-page-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 15px;
}

.profile-page-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.profile-form {
    background: white;
    border-radius: 10px;
}

.profile-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.profile-image-container {
    flex: 0 0 300px;
    text-align: center;
}

#profile-image-preview {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.image-upload-container {
    margin-top: 1rem;
}

.upload-button {
    display: inline-block;
    padding: 10px 20px;
    background: #f9f9f9;
    color: #808080;
    border-radius: 0px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.upload-button:hover {
    background: #a0302a;
    color: white;
}

#profile-picture-upload {
    display: none;
}

.profile-info {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input[disabled] {
    background: #f5f5f5;
    color: #666;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.age-display {
    color: #666;
    font-size: 0.9em;
    margin-left: 10px;
}

.save-button {
    padding: 12px 25px;
    background: #c03732;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.save-button:hover {
    background: #a0302a;
}

.form-status {
    margin-top: 1rem;
    min-height: 20px;
}
