/* ============================================
   로그인 페이지 스타일 - PC 버전
   ============================================ */

/* 기본 레이아웃 */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    padding: 40px 20px;
}

/* 카드 컨테이너 */
.auth-card {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.auth-card:hover {
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.3);
}

/* 제목 및 부제목 */
.auth-card-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2c3e50;
    text-align: center;
}

.auth-card-subtitle {
    font-size: 16px;
    color: rgba(44, 62, 80, 0.7);
    margin-bottom: 32px;
    text-align: center;
    line-height: 1.6;
}

/* 폼 스타일 */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 8px;
}

.auth-label {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-input {
    padding: 14px 18px;
    border-radius: 12px;
    border: 2px solid rgba(44, 62, 80, 0.15);
    font-size: 16px;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #2c3e50;
}

.auth-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
    transform: translateY(-1px);
}

.auth-input::placeholder {
    color: rgba(44, 62, 80, 0.4);
}

/* 동의 체크박스 */
.auth-agreement {
    margin-top: 8px;
    margin-bottom: 8px;
}

.auth-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: rgba(44, 62, 80, 0.8);
    line-height: 1.5;
}

.auth-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #3498db;
    flex-shrink: 0;
}

.auth-checkbox-text {
    flex: 1;
}

.auth-checkbox-text .auth-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-checkbox-text .auth-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* 제출 버튼 */
.auth-submit-btn {
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 17px;
    font-weight: 600;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 8px;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

/* 비밀번호 찾기 링크 */
.auth-forgot-wrap {
    margin: -8px 0 0;
    text-align: right;
}

.auth-forgot-link {
    font-size: 14px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-forgot-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* 에러 메시지 */
.auth-error {
    min-height: 20px;
    font-size: 14px;
    color: #e74c3c;
    margin-top: 8px;
    text-align: center;
    font-weight: 500;
}

/* 성공 메시지 (비밀번호 찾기 등) */
.auth-success {
    min-height: 20px;
    font-size: 14px;
    color: #27ae60;
    margin-top: 8px;
    text-align: center;
    font-weight: 500;
}

/* 링크 텍스트 */
.auth-link-text {
    margin-top: 24px;
    text-align: center;
    font-size: 15px;
    color: rgba(44, 62, 80, 0.7);
}

.auth-link-text a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-link-text a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* 홈 버튼 */
.auth-link-home {
    margin-top: 16px;
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 14px;
    background: rgba(44, 62, 80, 0.08);
    color: #2c3e50;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-link-home:hover {
    background: rgba(44, 62, 80, 0.12);
    transform: translateY(-1px);
}

/* 계정 관리 섹션 */
.auth-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px;
    border: 1px solid rgba(44, 62, 80, 0.08);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

.auth-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db 0%, #2c3e50 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-status:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    border-color: rgba(44, 62, 80, 0.12);
}

.auth-status:hover::before {
    opacity: 1;
}

.auth-status-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.auth-status-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(44, 62, 80, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-status-text {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.auth-role-text {
    font-size: 14px;
    font-weight: 600;
    color: rgba(44, 62, 80, 0.7);
    margin-top: 4px;
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    background: rgba(44, 62, 80, 0.05);
    border: 1px solid rgba(44, 62, 80, 0.1);
}

.auth-role-text.admin-role {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    border-color: rgba(231, 76, 60, 0.2);
}

.auth-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* 버튼 스타일 */
.auth-btn {
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.auth-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.auth-btn:hover::before {
    width: 300px;
    height: 300px;
}

.auth-btn.primary {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.auth-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

.auth-btn.danger {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.auth-btn.danger:hover {
    background: rgba(231, 76, 60, 0.15);
    border-color: rgba(231, 76, 60, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.2);
}

/* 사용자 통계 */
.user-stats-container {
    margin-top: 24px;
    padding: 28px;
    background: rgba(44, 62, 80, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(44, 62, 80, 0.08);
}

.user-stats-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 24px;
}

.user-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.user-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(44, 62, 80, 0.1);
    transition: all 0.2s ease;
}

.user-stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #3498db;
}

.user-stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.user-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #3498db;
    line-height: 1;
}

.user-stat-label {
    font-size: 13px;
    color: rgba(44, 62, 80, 0.6);
    font-weight: 600;
}

.user-followers-list {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(44, 62, 80, 0.1);
}

.user-followers-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
}

.user-followers-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.user-follower-item {
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(44, 62, 80, 0.1);
    transition: all 0.2s ease;
}

.user-follower-item:hover {
    background: rgba(52, 152, 219, 0.05);
    border-color: #3498db;
}

.user-follower-email {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
}

/* ============================================
   다크 모드 - PC 버전
   ============================================ */

body.dark-mode .auth-page {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
}

body.dark-mode .auth-card {
    background: #2c3e50;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

body.dark-mode .auth-card-title {
    color: #ffffff;
}

body.dark-mode .auth-card-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .auth-label {
    color: #ffffff;
}

body.dark-mode .auth-input {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

body.dark-mode .auth-input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

body.dark-mode .auth-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

body.dark-mode .auth-checkbox-label {
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .auth-checkbox-text .auth-link {
    color: #7ec8ff;
}

body.dark-mode .auth-checkbox-text .auth-link:hover {
    color: #3498db;
}

body.dark-mode .auth-submit-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

body.dark-mode .auth-submit-btn:hover {
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

body.dark-mode .auth-link-text {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .auth-link-text a {
    color: #7ec8ff;
}

body.dark-mode .auth-link-text a:hover {
    color: #3498db;
}

body.dark-mode .auth-forgot-link {
    color: #7ec8ff;
}

body.dark-mode .auth-forgot-link:hover {
    color: #3498db;
}

body.dark-mode .auth-success {
    color: #2ecc71;
}

body.dark-mode .auth-link-home {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

body.dark-mode .auth-link-home:hover {
    background: rgba(255, 255, 255, 0.12);
}

body.dark-mode .auth-status {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 73, 94, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .auth-status-label {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .auth-status-text {
    color: #ffffff;
}

body.dark-mode .auth-role-text {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .auth-role-text.admin-role {
    color: #ff8a7d;
    background: rgba(231, 76, 60, 0.2);
    border-color: rgba(231, 76, 60, 0.3);
}

body.dark-mode .auth-btn.primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

body.dark-mode .auth-btn.primary:hover {
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

body.dark-mode .auth-btn.danger {
    background: rgba(231, 76, 60, 0.15);
    color: #ff8a7d;
    border-color: rgba(231, 76, 60, 0.3);
}

body.dark-mode .auth-btn.danger:hover {
    background: rgba(231, 76, 60, 0.25);
    border-color: rgba(231, 76, 60, 0.5);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

body.dark-mode .user-stats-container {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .user-stats-title {
    color: #ffffff;
}

body.dark-mode .user-stat-item {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .user-stat-item:hover {
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .user-stat-value {
    color: #7ec8ff;
}

body.dark-mode .user-stat-label {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .user-followers-title {
    color: #ffffff;
}

body.dark-mode .user-follower-item {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .user-follower-item:hover {
    background: rgba(52, 152, 219, 0.1);
    border-color: #3498db;
}

body.dark-mode .user-follower-email {
    color: #ffffff;
}

/* 관리자용 사용자 목록 */
.admin-users-container {
    margin-top: 24px;
    padding: 28px;
    background: rgba(44, 62, 80, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(44, 62, 80, 0.08);
}

.admin-users-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 24px;
}

.admin-users-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 600px;
    overflow-y: auto;
}

.admin-user-item {
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(44, 62, 80, 0.1);
    transition: all 0.2s ease;
}

.admin-user-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #3498db;
}

.admin-user-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-user-email {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-badge {
    padding: 2px 8px;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-user-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: rgba(44, 62, 80, 0.7);
}

.admin-user-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-user-detail-item strong {
    color: rgba(44, 62, 80, 0.8);
    min-width: 70px;
}

.admin-agreement-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.admin-agreement-badge.agreed {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.admin-agreement-badge.not-agreed {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.admin-users-empty,
.admin-users-error {
    text-align: center;
    padding: 40px 20px;
    color: rgba(44, 62, 80, 0.6);
    font-size: 14px;
}

.admin-users-error {
    color: #e74c3c;
}

/* 다크모드 관리자 사용자 목록 */
body.dark-mode .admin-users-container {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .admin-users-title {
    color: #ffffff;
}

body.dark-mode .admin-user-item {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .admin-user-item:hover {
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .admin-user-email {
    color: #ffffff;
}

body.dark-mode .admin-badge {
    background: rgba(231, 76, 60, 0.2);
    color: #ff8a7d;
    border-color: rgba(231, 76, 60, 0.4);
}

body.dark-mode .admin-user-details {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .admin-user-detail-item strong {
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .admin-agreement-badge.agreed {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border-color: rgba(46, 204, 113, 0.4);
}

body.dark-mode .admin-agreement-badge.not-agreed {
    background: rgba(231, 76, 60, 0.2);
    color: #ff8a7d;
    border-color: rgba(231, 76, 60, 0.4);
}

body.dark-mode .admin-users-empty {
    color: rgba(255, 255, 255, 0.6);
}

/* 관리자용 사용자 상세 정보 버튼 */
.admin-user-detail-btn {
    margin-top: 12px;
    padding: 8px 16px;
    background: #3498db;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-user-detail-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* 관리자용 사용자 상세 정보 확장 영역 */
.admin-user-details-expanded {
    margin-top: 16px;
    padding: 20px;
    background: rgba(44, 62, 80, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(44, 62, 80, 0.1);
}

.admin-user-stats-loading,
.admin-user-stats-error {
    text-align: center;
    padding: 20px;
    color: rgba(44, 62, 80, 0.6);
    font-size: 14px;
}

.admin-user-stats-error {
    color: #e74c3c;
}

/* 관리자용 사용자 통계 */
.admin-user-stats {
    margin-bottom: 24px;
}

.admin-user-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.admin-user-stat-item {
    padding: 16px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(44, 62, 80, 0.1);
    text-align: center;
}

.admin-user-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 4px;
}

.admin-user-stat-label {
    font-size: 12px;
    color: rgba(44, 62, 80, 0.6);
    font-weight: 600;
}

/* 관리자용 사용자 게시글 목록 */
.admin-user-posts {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(44, 62, 80, 0.1);
}

.admin-user-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
}

.admin-user-posts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
}

.admin-user-post-item {
    padding: 16px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(44, 62, 80, 0.1);
    transition: all 0.2s ease;
}

.admin-user-post-item:hover {
    background: rgba(52, 152, 219, 0.05);
    border-color: #3498db;
}

.admin-user-post-title {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.admin-user-post-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: rgba(44, 62, 80, 0.6);
}

/* 관리자용 사용자 팔로워 목록 */
.admin-user-followers {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(44, 62, 80, 0.1);
}

.admin-user-followers-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.admin-user-follower-item {
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(44, 62, 80, 0.1);
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
}

.admin-user-empty {
    padding: 20px;
    text-align: center;
    color: rgba(44, 62, 80, 0.6);
    font-size: 14px;
    font-style: italic;
}

/* 다크모드 관리자 사용자 상세 정보 */
body.dark-mode .admin-user-detail-btn {
    background: #3498db;
}

body.dark-mode .admin-user-detail-btn:hover {
    background: #2980b9;
}

body.dark-mode .admin-user-details-expanded {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .admin-user-stats-loading {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .admin-user-stat-item {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .admin-user-stat-value {
    color: #7ec8ff;
}

body.dark-mode .admin-user-stat-label {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .admin-user-section-title {
    color: #ffffff;
}

body.dark-mode .admin-user-post-item {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .admin-user-post-item:hover {
    background: rgba(52, 152, 219, 0.1);
    border-color: #3498db;
}

body.dark-mode .admin-user-post-title {
    color: #ffffff;
}

body.dark-mode .admin-user-post-meta {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .admin-user-follower-item {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

body.dark-mode .admin-user-empty {
    color: rgba(255, 255, 255, 0.6);
}

/* 모바일 반응형 */
@media screen and (max-width: 768px) {
    .admin-user-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-user-detail-btn {
        width: 100%;
    }
}

/* 모바일 반응형 */
@media screen and (max-width: 768px) {
    .admin-users-container {
        padding: 20px;
        margin-top: 20px;
    }
    
    .admin-users-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .admin-user-item {
        padding: 16px;
    }
    
    .admin-user-email {
        font-size: 15px;
    }
    
    .admin-user-details {
        font-size: 13px;
    }
    
    .admin-user-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .admin-user-detail-item strong {
        min-width: auto;
    }
}

/* ============================================
   모바일 버전 (768px 이하)
   ============================================ */

@media screen and (max-width: 768px) {
    .auth-page {
        padding: 20px 15px;
        min-height: 100vh;
    }

    .auth-card {
        max-width: 100%;
        padding: 32px 24px;
        border-radius: 20px;
    }

    .auth-card-title {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .auth-card-subtitle {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .auth-form {
        gap: 18px;
    }

    .auth-label {
        font-size: 14px;
        gap: 8px;
    }

    .auth-input {
        padding: 12px 16px;
        font-size: 15px;
    }

    .auth-submit-btn {
        padding: 14px;
        font-size: 16px;
    }

    .auth-link-text {
        font-size: 14px;
        margin-top: 20px;
    }

    .auth-link-home {
        padding: 12px;
        font-size: 14px;
    }

    .auth-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 24px 20px;
        margin-bottom: 20px;
    }

    .auth-status-content {
        width: 100%;
    }

    .auth-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .auth-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }

    .user-stats-container {
        padding: 20px;
        margin-top: 20px;
    }

    .user-stats-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .user-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }

    .user-stat-item {
        padding: 16px;
    }

    .user-stat-value {
        font-size: 22px;
    }

    .user-stat-label {
        font-size: 12px;
    }

    .user-followers-list {
        margin-top: 20px;
        padding-top: 20px;
    }

    .user-followers-title {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .user-follower-item {
        padding: 10px 14px;
    }

    .user-follower-email {
        font-size: 13px;
    }
}

/* ============================================
   작은 모바일 버전 (480px 이하)
   ============================================ */

@media screen and (max-width: 480px) {
    .auth-page {
        padding: 15px 12px;
    }

    .auth-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .auth-card-title {
        font-size: 24px;
    }

    .auth-card-subtitle {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .auth-form {
        gap: 16px;
    }

    .auth-input {
        padding: 11px 14px;
        font-size: 14px;
    }

    .auth-submit-btn {
        padding: 12px;
        font-size: 15px;
    }

    .auth-status {
        padding: 20px 16px;
    }

    .auth-status-label {
        font-size: 12px;
    }

    .auth-status-text {
        font-size: 15px;
    }

    .auth-btn {
        padding: 12px 18px;
        font-size: 14px;
    }

    .user-stats-container {
        padding: 16px;
    }

    .user-stats-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .user-stat-item {
        padding: 14px;
    }

    .user-stat-value {
        font-size: 20px;
    }

    .user-stat-label {
        font-size: 11px;
    }
}

