/* 用户页面样式 */
.user-page {
    overflow-x: hidden;
}

/* 背景样式 */
.user-background {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 80px; /* 与header高度一致 */
}

#user-banner {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

/* 表单容器 */
.user-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 80px);
    width: 100%;
    position: relative;
}

.register-layout {
    display: flex;
    background-color: #000000;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden; /* To contain the pseudo-element */
    width: 85%;
    max-width: 1000px; /* Adjust as needed */
}

.register-layout::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 1000px; /* Adjust as needed */
    height: 780px; /* Adjust as needed */
    background-image: url('images/regbg.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top left;
    opacity: 0.5; /* Optional: adjust opacity */
}

.register-info-panel {
    flex: 1;
    color: white;
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Left align content */
    text-align: left; /* Ensure text is left-aligned */
    padding-left: 15px;
    padding-top: 15px;
}

.register-info-panel h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    line-height: 1.3;
    z-index: 2;
}

.register-info-panel .highlight-green {
    color: #A5D63F;
    font-style:italic;
}

.register-info-panel .info-logo {
    width: 125px;
    height: 125px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}


.form-box {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    width: 450px; /* Fixed width for the form box */
    max-width: 450px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1; /* Ensure form is above the ::before element */
}

.form-box h2 {
    margin-bottom: 25px;
    font-size: 24px;
    color: #333;
    text-align: left;
}

/* 表单样式 */
.form-group {
    margin-bottom: 10px;
}

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

.form-group input {
    width: 100%;
    padding: 5px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #D3D300;
    outline: none;
}

/* 电话号码输入框样式 */
.phone-input {
    display: flex;
    align-items: center;
}

.phone-prefix {
    background-color: #f5f5f5;
    padding: 5px 15px; /* 修改padding值与input一致 */
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: #555;
    font-size: 14px;
    height: 30px; /* 添加固定高度 */
    line-height: 20px; /* 添加行高以垂直居中文本 */
    display: flex; /* 添加flex布局 */
    align-items: center; /* 垂直居中内容 */
}

.phone-input input {
    border-radius: 0 4px 4px 0;
}
.phone-prefix-container {
    display: flex;
    flex-direction: column;
}
.phone-input input[name="phone_number"] {
    border-radius: 0 4px 4px 0;
}
/* 密码字段样式 */
.password-field {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
}

/* 错误消息样式 */
.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* 提交按钮样式 */
.agreement {
    display: flex;
    justify-content: flex-end;
    padding-right: 80px;
    margin-bottom: 15px;
}

/* 表单底部样式 */
.form-footer {
    margin-top: 20px;
    text-align: left;
    font-size: 14px;
    color: #555;
}

.form-footer a {
    color: #D3D300;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* 条款样式 */
.terms {
    font-size: 13px;
    color: #777;
    text-align: left;
}

.terms a {
    color: #D3D300;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

/* 记住我和忘记密码行 */
.remember-me {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-password {
    color: #D3D300;
    text-decoration: none;
    font-size: 13px;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* 复选框样式 */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #eee;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #D3D300;
    border-color: #D3D300;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    width: 85%;
    max-width: 1000px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* overflow: hidden; */ /* Ensure pseudo-elements are contained if needed */
}

.modal-custom-layout {
    background-image: url('images/tanchuang-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    padding: 40px; /* Adjust padding as needed */
}

/* Styles for the upload success modal specifically */
#uploadSuccessModalContent.modal-custom-layout {
    background-image: url('../images/tanchuang-bg.png'); /* Ensure path is correct */
    background-size: contain; /* Or cover, depending on desired effect with the leaves */
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 15px; /* Match design */
    padding: 50px; /* Adjust padding to match design */
    max-width: 600px; /* Adjust width to match design */
}

#uploadSuccessModalContent .modal-header h2 {
    font-family: 'Libre Bodoni', serif; /* Assuming this font is available or imported */
    font-size: 32px; /* Adjust as per design */
    color: #A3A000; /* Olive green color from design */
    margin-bottom: 20px;
}

#uploadSuccessModalContent .modal-body-upper p {
    font-family: 'Arial', sans-serif; /* Or a similar sans-serif font */
    font-size: 14px;
    color: #333333; /* Dark gray text */
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 450px; /* Limit text width for better readability */
    margin-left: auto;
    margin-right: auto;
}

#uploadSuccessModalContent .btn-submit {
    background-color: #D4D100; /* Yellowish-green button color */
    color: #000000;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 16px;
    padding: 15px 35px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#uploadSuccessModalContent .btn-submit:hover {
    background-color: #B8B500; /* Darker shade on hover */
}

#uploadSuccessModalContent .close {
    color: #888; /* Lighter close button */
    font-size: 30px;
    position: absolute;
    top: 20px;
    right: 25px;
}
.modal-top-left {
    flex: 1; /* Takes up available space */
    padding-right: 30px; /* Space between left text and right image */
}

.modal-top-right {
    flex-shrink: 0; /* Prevents the image container from shrinking */
}

.modal-top-right img {
    max-width: 250px; /* Adjust image size as needed */
    height: auto;
    border-radius: 8px; /* Optional: if image needs rounded corners */
}
.modal-body-upper p,
.modal-body-upper {
    color: #333; /* Ensuring text is readable on the new background */
}
.guidelines {
    /* Adjust guideline colors if needed for better contrast */
}

.guideline-item p {
    color: #333; /* Ensuring text is readable */
}

.agreement label {
    color: #333; /* Ensuring text is readable */
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

.modal-header {
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 32px;
    margin-bottom: 5px;
    color: #333;
}

.subtitle {
    font-size: 24px;
    color: #D3D300;
    font-style: italic;
    margin-bottom: 20px;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal-body a {
    color: #D3D300;
    text-decoration: none;
}

.modal-body a:hover {
    text-decoration: underline;
}

.note {
    font-size: 11px;
    color: #696969 !important;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* 指南项目样式 */
.guidelines {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 改为4列 */
    gap: 20px;
    margin: 25px 0;
}

.guideline-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.guideline-item p {
    font-size: 14px; /* 适当减小字体大小以适应4列布局 */
    line-height: 1.4;
}

.guideline-item p {
    margin: 0;
    font-size: 14px;
}

.agreement {
    margin: 25px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .form-box {
        width: 90%;
        padding: 20px;
    }
    
    .guidelines {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 10% auto;
    }
    
    .modal-header h2 {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 18px;
    }
}

/* Ensure this is at the end of the file or in a relevant section */

/* Profile Page Specific Styles */
.user-profile-page {
    background-color: #f4f4f4; /* Light grey background for the page */
    font-family: 'Arial', sans-serif; /* Consistent font */
}

.profile-banner {
    width: 100%;
    height: 300px; /* Adjust height as needed */
    overflow: hidden;
}

.profile-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-main-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.user-info-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 30px 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info-card h1 {
    font-family: 'Libre Bodoni', serif; /* Title font */
    font-size: 36px;
    color: #222222;
    margin: 0 0 10px 0;
}

.contact-info span {
    display: inline-block; /* Changed to inline-block for better spacing */
    color: #555555;
    font-size: 16px;
    margin-right: 25px; /* Spacing between phone and email */
}

.contact-info span:last-child {
    margin-right: 0;
}

.contact-info i {
    color: #A3A000; /* Icon color */
    margin-right: 8px;
}

.btn-share-photo {
    background-color: #000000;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.btn-share-photo:hover {
    background-color: #333333;
}

.uploaded-photos-section {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 40px;
    min-height: 400px; /* Ensure it has some height even when empty */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.no-photos-placeholder {
    text-align: center;
    padding: 80px 20px;
    color: #777777;
}

.placeholder-icon {
    width: 80px; /* Adjust as needed */
    height: auto;
    margin-bottom: 25px;
    opacity: 0.7;
}
.photo-card {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden; /* To contain the image and edit button */
}

.photo-card:last-child {
    margin-bottom: 0;
}

.photo-title {
    font-family: 'Libre Bodoni', serif;
    font-size: 24px;
    color: #222222;
    margin: 0 0 15px 0;
}

.photo-image-container {
    position: relative;
    margin-bottom: 15px;
}

.photo-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.btn-edit-photo {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #D4D100; /* Yellowish-green button */
    color: #000000;
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .user-info-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .user-info-card h1 {
        font-size: 28px;
    }
    .contact-info {
        margin-bottom: 20px;
    }
    .contact-info span {
        display: block; /* Stack contact info on smaller screens */
        margin-right: 0;
        margin-bottom: 8px;
    }
    .btn-share-photo {
        align-self: flex-start; /* Align button to start */
    }
    .profile-banner {
        height: 200px;
    }
}


.agreement-submit-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 140px;
    margin: 20px 0;
}

.agreement {
    display: flex;
    align-items: center;
}

.btn-submit {
    width: 100%; /* 减小按钮宽度 */
    padding: 10px; /* 减小内边距 */
    background-color: #D3D300;
    color: #000;
    border: none;
    border-radius: 25px; /* 增大圆角 */
    font-size: 14px; /* 减小字体大小 */
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}
#createUserBtn{
    width: 100%;
}
.btn-submit:hover {
    background-color: #b8b800;
}

.btn-submit:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* 表单底部样式 */
.form-footer {
    margin-top: 12px;
    text-align: left;
    font-size: 14px;
    color: #555;
}

.form-footer a {
    color: #D3D300;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* 条款样式 */
.terms {
    font-size: 13px;
    color: #777;
    text-align: left;
}

.terms a {
    color: #D3D300;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

/* 记住我和忘记密码行 */
.remember-me {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-password {
    color: #D3D300;
    text-decoration: none;
    font-size: 13px;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* 复选框样式 */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #eee;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #D3D300;
    border-color: #D3D300;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    width: 85%;
    max-width: 1000px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* overflow: hidden; */ /* Ensure pseudo-elements are contained if needed */
}

.modal-custom-layout {
    background-image: url('images/tanchuang-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    padding: 40px; /* Adjust padding as needed */
}

/* Styles for the upload success modal specifically */
#uploadSuccessModalContent.modal-custom-layout {
    background-image: url('images/tanchuang-bg.png'); /* Ensure path is correct */
    background-size: cover; /* Or cover, depending on desired effect with the leaves */
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 15px; /* Match design */
    padding: 50px; /* Adjust padding to match design */
    max-width: 1000px; /* Adjust width to match design */
    height: 630px;
}

#uploadSuccessModalContent .modal-header h2 {
    font-family: 'Libre Bodoni', serif; /* Assuming this font is available or imported */
    font-size: 32px; /* Adjust as per design */
    color: #A3A000; /* Olive green color from design */
    margin-bottom: 20px;
}

#uploadSuccessModalContent .modal-body-upper p {
    font-family: 'Arial', sans-serif; /* Or a similar sans-serif font */
    font-size: 14px;
    color: #333333; /* Dark gray text */
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 450px; /* Limit text width for better readability */
    margin-left: auto;
    margin-right: auto;
}

#uploadSuccessModalContent .btn-submit {
    background-color: #D4D100; /* Yellowish-green button color */
    color: #000000;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 16px;
    padding: 15px 35px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#uploadSuccessModalContent .btn-submit:hover {
    background-color: #B8B500; /* Darker shade on hover */
}

#uploadSuccessModalContent .close {
    color: #888; /* Lighter close button */
    font-size: 30px;
    position: absolute;
    top: 20px;
    right: 25px;
}

.modal-top-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the start of the cross axis */
    margin-bottom: 30px; /* Space between top and bottom sections */
    margin-top: 90px;
    padding-left: 60px;
    padding-right: 140px;
}

.modal-top-left {
    flex: 1; /* Takes up available space */
    padding-right: 30px; /* Space between left text and right image */
}

.modal-top-right {
    flex-shrink: 0; /* Prevents the image container from shrinking */
}

.modal-top-right img {
    max-width: 290px; /* Adjust image size as needed */
    height: auto;
    border-radius: 8px; /* Optional: if image needs rounded corners */
}

.modal-bottom-section {
    padding-left: 40px;
    padding-right: 40px;
}

.modal-header h2{
    color: #333; /* Ensuring text is readable */
}
.pp1, .pp2{
    font-style: italic;
    line-height:18px;
}
.greentitle{
    color: #D3D300;
}
.itema{
    color: #D3D300;
}
.guidelines {
    /* Adjust guideline colors if needed for better contrast */
}

.guideline-item p {
    color: #333; /* Ensuring text is readable */
}

.agreement label {
    color: #333; /* Ensuring text is readable */
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

.modal-header {
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 32px;
    margin-bottom: 5px;
    color: #333;
}

.subtitle {
    font-size: 24px;
    color: #D3D300;
    font-style: italic;
    margin-bottom: 20px;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal-body a {
    color: #D3D300;
    text-decoration: none;
}

.modal-body a:hover {
    text-decoration: underline;
}

/* 指南项目样式 */
.guidelines {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 改为4列 */
    gap: 20px;
    margin: 25px 0;
}

.guideline-item {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.guideline-item p {
    font-size: 14px; /* 适当减小字体大小以适应4列布局 */
    line-height: 1.4;
}

.guideline-icon {
    width: 40px;
    /*height: 40px;*/
    /* background-color: #f5f5f5;
    border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.guideline-icon img {
    width: 26px;
    height: 26px;
}
.guideline-icon i {
    font-size: 18px;
    color: #333;
}

.guideline-item p {
    margin: 0;
    font-size: 11px;
}

.agreement {
    margin: 25px 0;
}
#startSharingBtn{
    width: 150px;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .form-box {
        width: 90%;
        padding: 20px;
    }
    
    .guidelines {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 10% auto;
    }
    
    .modal-header h2 {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 18px;
    }
}

/* Ensure this is at the end of the file or in a relevant section */

/* Profile Page Specific Styles */
.user-profile-page {
    background-color: #f4f4f4; /* Light grey background for the page */
    font-family: 'Arial', sans-serif; /* Consistent font */
}

.profile-banner {
    width: 100%;
    height: 300px; /* Adjust height as needed */
    overflow: hidden;
}

.profile-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-main-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.user-info-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 30px 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info-card h1 {
    font-family: 'Libre Bodoni', serif; /* Title font */
    font-size: 36px;
    color: #222222;
    margin: 0 0 10px 0;
}

.contact-info span {
    display: inline-block; /* Changed to inline-block for better spacing */
    color: #555555;
    font-size: 16px;
    margin-right: 25px; /* Spacing between phone and email */
}

.contact-info span:last-child {
    margin-right: 0;
}

.contact-info i {
    color: #A3A000; /* Icon color */
    margin-right: 8px;
}

.btn-share-photo {
    background-color: #000000;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.btn-share-photo:hover {
    background-color: #333333;
}

.uploaded-photos-section {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 40px;
    min-height: 400px; /* Ensure it has some height even when empty */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.no-photos-placeholder {
    text-align: center;
    padding: 80px 20px;
    color: #777777;
}

.placeholder-icon {
    width: 80px; /* Adjust as needed */
    height: auto;
    margin-bottom: 25px;
    opacity: 0.7;
}

.no-photos-placeholder h2 {
    font-family: 'Libre Bodoni', serif;
    font-size: 28px;
    /*color: #444444;*/
    margin-bottom: 10px;
}

.no-photos-placeholder p {
    font-size: 28px;
}
.photo-card {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden; /* To contain the image and edit button */
}

.photo-card:last-child {
    margin-bottom: 0;
}

.photo-title {
    font-family: 'Libre Bodoni', serif;
    font-size: 24px;
    color: #222222;
    margin: 0 0 15px 0;
}

.photo-image-container {
    position: relative;
    margin-bottom: 15px;
}

.photo-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.btn-edit-photo {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #D4D100; /* Yellowish-green button */
    color: #000000;
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
/* 注册机构选择样式 */
.radio-group {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 15px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
}
.radio-option input{
    width: 10px;
    height: 10px;
    padding: 5px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}
.radio-option label{
    margin-bottom: 0px;
}
.form-hint {
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
    margin-bottom: 10px;
}

.membership-number-container {
    margin-top: 10px;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .user-info-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .user-info-card h1 {
        font-size: 28px;
    }
    .contact-info {
        margin-bottom: 20px;
    }
    .contact-info span {
        display: block; /* Stack contact info on smaller screens */
        margin-right: 0;
        margin-bottom: 8px;
    }
    .btn-share-photo {
        align-self: flex-start; /* Align button to start */
    }
    .profile-banner {
        height: 200px;
    }
}