.clubrank-clubs-wrapper {
    display: grid;
    gap: 20px;
    padding: 20px 0;
}

.clubrank-club-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.clubrank-club-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.clubrank-rank-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
}

.clubrank-club-card:first-child .clubrank-rank-badge {
    background: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
    box-shadow: 0 3px 10px rgba(241, 39, 17, 0.4);
}

.clubrank-club-card:nth-child(2) .clubrank-rank-badge {
    background: linear-gradient(135deg, #bdc3c7 0%, #7f8c8d 100%);
}

.clubrank-club-card:nth-child(3) .clubrank-rank-badge {
    background: linear-gradient(135deg, #cd7f32 0%, #8B4513 100%);
}

.clubrank-club-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.clubrank-club-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clubrank-default-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-size: 40px;
    border-radius: 12px;
}

.clubrank-club-info {
    min-width: 0;
}

.clubrank-club-name {
    margin: 0 0 12px 0;
    font-size: 1.4em;
    font-weight: 800;
    color: transparent;
    background: linear-gradient(135deg, var(--title-color1, #667eea) 0%, var(--title-color2, #764ba2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
}

.clubrank-title-icon {
    font-size: 1.2em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: clubrank-icon-bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

@keyframes clubrank-icon-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.1); }
}

.clubrank-title-text {
    background: linear-gradient(135deg, var(--title-color1, #667eea) 0%, var(--title-color2, #764ba2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.clubrank-title-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--title-color1, #667eea), var(--title-color2, #764ba2));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.clubrank-club-card:hover .clubrank-title-text::after {
    width: 100%;
}

.clubrank-address-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8ecff 100%);
    padding: 12px 15px;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    flex-wrap: wrap;
}

.clubrank-address-icon {
    font-size: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
}

.clubrank-address-text {
    flex: 1;
    color: #4a5568;
    font-size: 0.95em;
    line-height: 1.5;
}

.clubrank-address-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #34a853 0%, #4caf50 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 168, 83, 0.3);
}

.clubrank-address-map-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(52, 168, 83, 0.45);
    color: #fff;
}

.clubrank-address-map-btn .btn-icon {
    font-size: 16px;
}

.clubrank-contact-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: nowrap;
}

.clubrank-contact-buttons:empty {
    display: none;
    margin: 0;
}

.clubrank-contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex: 1;
}

.clubrank-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.clubrank-contact-btn:hover::before {
    opacity: 1;
}

.clubrank-contact-btn:hover {
    transform: translateY(-4px) scale(1.02);
    text-decoration: none;
}

.clubrank-contact-mobile {
    background: linear-gradient(135deg, #00c853 0%, #00e676 50%, #69f0ae 100%);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.35);
}

.clubrank-contact-mobile:hover {
    box-shadow: 0 10px 30px rgba(0, 200, 83, 0.5);
}

.clubrank-contact-landline {
    background: linear-gradient(135deg, #2979ff 0%, #448aff 50%, #82b1ff 100%);
    box-shadow: 0 6px 20px rgba(41, 121, 255, 0.35);
}

.clubrank-contact-landline:hover {
    box-shadow: 0 10px 30px rgba(41, 121, 255, 0.5);
}

.clubrank-contact-btn .contact-icon {
    font-size: 22px;
    background: rgba(255,255,255,0.25);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.clubrank-contact-btn .contact-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: #fff;
    min-width: 0;
}

.clubrank-contact-btn .contact-label {
    font-size: 10px;
    opacity: 0.9;
    letter-spacing: 0.3px;
}

.clubrank-contact-btn .contact-number {
    font-size: 14px;
    font-weight: 700;
    direction: ltr;
    text-align: right;
    white-space: nowrap;
}

.clubrank-contact-btn .contact-action {
    background: rgba(255,255,255,0.3);
    color: #fff;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s;
    flex-shrink: 0;
}

.clubrank-contact-btn:hover .contact-action {
    background: rgba(255,255,255,0.5);
    transform: scale(1.05);
}

@keyframes phone-ring {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-15deg); }
    20% { transform: rotate(15deg); }
    30% { transform: rotate(-15deg); }
    40% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
}

.clubrank-contact-btn:hover .contact-icon {
    animation: phone-ring 0.8s ease-in-out;
}

.clubrank-icon {
    flex-shrink: 0;
}

.clubrank-club-phone a,
.clubrank-club-email a {
    color: #667eea;
    text-decoration: none;
}

.clubrank-club-email {
    font-size: 0.9em;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.clubrank-club-links {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.clubrank-club-links:empty {
    display: none;
    margin: 0;
}

.clubrank-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.clubrank-link .link-icon {
    font-size: 20px;
}

.clubrank-link .link-text {
    white-space: nowrap;
}

.clubrank-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.clubrank-link:hover::before {
    width: 150%;
    height: 150%;
}

.clubrank-link:hover {
    transform: translateY(-5px) scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.clubrank-link-website {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    padding: 10px 14px;
    border-radius: 12px;
    gap: 6px;
    color: #fff !important;
    font-size: 12px;
}

.clubrank-link-website .link-icon {
    font-size: 16px;
}

.clubrank-link-website .link-text {
    color: #fff !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.clubrank-link-website:hover {
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.6);
    transform: translateY(-3px) scale(1.05);
}

.clubrank-link-instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.4);
    animation: instagram-glow 2s ease-in-out infinite;
    padding: 10px 14px;
    font-size: 12px;
    color: #fff !important;
    gap: 6px;
    border-radius: 12px;
}

@keyframes instagram-glow {
    0%, 100% { box-shadow: 0 4px 12px rgba(225, 48, 108, 0.4); }
    50% { box-shadow: 0 6px 18px rgba(225, 48, 108, 0.6), 0 0 15px rgba(225, 48, 108, 0.3); }
}

.clubrank-link-instagram .instagram-icon {
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
    width: 20px;
    height: 20px;
}

.clubrank-link-instagram .link-text {
    color: #fff !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.clubrank-link-instagram:hover {
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.6);
    transform: translateY(-3px) scale(1.05);
}

.link-followers {
    background: rgba(255,255,255,0.25);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 3px;
    backdrop-filter: blur(5px);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.2);
}

.clubrank-link-map {
    background: linear-gradient(135deg, #34a853 0%, #4caf50 100%);
    box-shadow: 0 5px 15px rgba(52, 168, 83, 0.4);
}

.clubrank-link-map:hover {
    box-shadow: 0 10px 30px rgba(52, 168, 83, 0.5);
}

.clubrank-link-email {
    background: linear-gradient(135deg, #667eea 0%, #5a67d8 50%, #4c51bf 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    animation: email-pulse 2.5s ease-in-out infinite;
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 12px;
    gap: 6px;
    color: #fff !important;
}

@keyframes email-pulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4); }
    50% { box-shadow: 0 6px 18px rgba(102, 126, 234, 0.6), 0 0 12px rgba(102, 126, 234, 0.3); }
}

.clubrank-link-email .link-icon {
    font-size: 16px;
}

.clubrank-link-email .link-text {
    color: #fff !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.clubrank-link-email:hover {
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.6);
    transform: translateY(-3px) scale(1.05);
}

.clubrank-gallery-row {
    width: 100%;
    margin-top: 10px;
}

.clubrank-link-gallery {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 50%, #11998e 100%);
    background-size: 200% 200%;
    animation: gallery-gradient 3s ease infinite;
    box-shadow: 0 6px 25px rgba(17, 153, 142, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
    padding: 16px 30px;
    font-size: 15px;
    border-radius: 16px;
    gap: 12px;
    color: #fff !important;
    border: none;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.clubrank-link-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: gallery-shine 2s ease-in-out infinite;
}

@keyframes gallery-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes gallery-shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.clubrank-link-gallery .link-icon {
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.clubrank-link-gallery .link-text {
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}

.clubrank-link-gallery .gallery-count {
    background: rgba(255,255,255,0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-right: 8px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
}

.clubrank-link-gallery:hover {
    box-shadow: 0 12px 35px rgba(17, 153, 142, 0.7), 0 0 20px rgba(56, 239, 125, 0.4);
    transform: translateY(-4px) scale(1.02);
}

.clubrank-link-gallery:active {
    transform: translateY(-2px) scale(1.01);
}

.clubrank-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.clubrank-lightbox.active {
    display: flex;
}

.clubrank-lightbox-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.clubrank-lightbox-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.clubrank-lightbox-counter {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.clubrank-lightbox-close {
    position: absolute;
    top: 15px;
    left: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clubrank-lightbox-close:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.clubrank-lightbox-content {
    max-width: 90%;
    max-height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clubrank-lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
    object-fit: contain;
}

.clubrank-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clubrank-lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.1);
}

.clubrank-lightbox-prev {
    right: 20px;
}

.clubrank-lightbox-next {
    left: 20px;
}

.clubrank-lightbox-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(0,0,0,0.5);
    border-radius: 12px;
    max-width: 90%;
    overflow-x: auto;
}

.clubrank-lightbox-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.clubrank-lightbox-thumb:hover {
    opacity: 0.9;
}

.clubrank-lightbox-thumb.active {
    opacity: 1;
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.clubrank-video-row {
    width: 100%;
    margin-top: 10px;
}

.clubrank-link-video {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 50%, #ff416c 100%);
    background-size: 200% 200%;
    animation: video-gradient 3s ease infinite;
    box-shadow: 0 6px 25px rgba(255, 65, 108, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
    padding: 16px 30px;
    font-size: 15px;
    border-radius: 16px;
    gap: 12px;
    color: #fff !important;
    border: none;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.clubrank-link-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: video-shine 2s ease-in-out infinite;
}

@keyframes video-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes video-shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.clubrank-link-video .link-icon {
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.clubrank-link-video .link-text {
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}

.clubrank-link-video .video-play-icon {
    background: rgba(255,255,255,0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    margin-right: 8px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    animation: pulse-play 1.5s ease-in-out infinite;
}

@keyframes pulse-play {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.clubrank-link-video:hover {
    box-shadow: 0 12px 35px rgba(255, 65, 108, 0.7), 0 0 20px rgba(255, 75, 43, 0.4);
    transform: translateY(-4px) scale(1.02);
}

.clubrank-link-video:active {
    transform: translateY(-2px) scale(1.01);
}

.clubrank-video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.clubrank-video-modal.active {
    display: flex;
}

.clubrank-video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5), 0 0 40px rgba(255, 65, 108, 0.3);
    animation: modal-appear 0.3s ease-out;
}

@keyframes modal-appear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.clubrank-video-modal-close {
    position: absolute;
    top: 10px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.5);
}

.clubrank-video-modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 65, 108, 0.7);
}

.clubrank-video-modal-header {
    padding: 15px 20px;
    padding-right: 60px;
    background: linear-gradient(90deg, rgba(255, 65, 108, 0.2), transparent);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.clubrank-video-modal-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.clubrank-video-modal-body {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
}

.clubrank-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Map Buttons */
.clubrank-map-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-right: auto;
}

.clubrank-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.clubrank-map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.clubrank-map-btn .btn-icon {
    font-size: 14px;
}

/* Map Modal */
.clubrank-map-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.clubrank-map-modal.active {
    display: flex;
}

.clubrank-map-modal-content {
    position: relative;
    width: 95%;
    height: 85%;
    max-width: 1200px;
    max-height: 800px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5);
    animation: modal-appear 0.3s ease-out;
}

.clubrank-map-modal-close {
    position: absolute;
    top: 10px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
}

.clubrank-map-modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.7);
}

.clubrank-map-modal-header {
    padding: 15px 20px;
    padding-right: 60px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.2), transparent);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.clubrank-map-modal-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.clubrank-map-modal-open-external {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.clubrank-map-modal-open-external:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.5);
}

.clubrank-map-modal-body {
    width: 100%;
    height: calc(100% - 60px);
    background: #f5f5f5;
}

.clubrank-map-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@keyframes icon-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.clubrank-link:hover {
    animation: icon-bounce 0.4s ease-in-out;
}

.clubrank-vip-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    z-index: 5;
}

.clubrank-vip-bronze {
    background: linear-gradient(135deg, #cd7f32 0%, #8B4513 100%);
}

.clubrank-vip-silver {
    background: linear-gradient(135deg, #c0c0c0 0%, #808080 100%);
}

.clubrank-vip-gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    color: #333;
}

.clubrank-vip-vip {
    background: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%);
    animation: clubrank-vip-glow 2s ease-in-out infinite alternate;
}

@keyframes clubrank-vip-glow {
    from {
        box-shadow: 0 0 10px rgba(142, 45, 226, 0.5);
    }
    to {
        box-shadow: 0 0 20px rgba(142, 45, 226, 0.9), 0 0 30px rgba(74, 0, 224, 0.5);
    }
}

.clubrank-plan-bronze {
    border: 2px solid #cd7f32;
}

.clubrank-plan-silver {
    border: 2px solid #c0c0c0;
}

.clubrank-plan-gold {
    border: 2px solid #ffd700;
    background: linear-gradient(135deg, #fffef0 0%, #fff8dc 100%);
}

.clubrank-plan-vip {
    border: 2px solid #8e2de2;
    background: linear-gradient(135deg, #f8f0ff 0%, #f0e6ff 100%);
}

.clubrank-reservation {
    margin-top: 12px;
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
}

.clubrank-reservation-status {
    display: block;
    font-weight: 600;
    font-size: 0.95em;
}

.clubrank-reservation-duration {
    display: block;
    font-size: 0.85em;
    margin-top: 4px;
    opacity: 0.9;
}

.clubrank-reservation-available {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #28a745;
}

.clubrank-reservation-limited {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    color: #856404;
    border: 1px solid #ffc107;
}

.clubrank-reservation-full {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #dc3545;
}

.clubrank-reserve-btn {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clubrank-reserve-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.clubrank-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.clubrank-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.clubrank-modal {
    background: #fff;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    padding: 30px;
    transform: scale(0.8);
    transition: all 0.3s ease;
    direction: rtl;
}

.clubrank-modal-overlay.active .clubrank-modal {
    transform: scale(1);
}

.clubrank-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.clubrank-modal-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.clubrank-modal-close {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.clubrank-modal-close:hover {
    color: #333;
}

.clubrank-form-group {
    margin-bottom: 15px;
}

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

.clubrank-form-group input,
.clubrank-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.clubrank-form-group input:focus,
.clubrank-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

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

.clubrank-bid-notice {
    margin-top: 8px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    border: 1px solid #ffc107;
    border-radius: 8px;
    color: #856404;
    font-size: 0.9em;
    font-weight: 600;
    text-align: center;
}

.clubrank-form-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clubrank-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.4);
}

.clubrank-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.clubrank-form-message {
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
}

.clubrank-form-message.success {
    background: #d4edda;
    color: #155724;
}

.clubrank-form-message.error {
    background: #f8d7da;
    color: #721c24;
}

.clubrank-admin-panel {
    margin-top: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.clubrank-admin-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clubrank-admin-header h3 {
    margin: 0;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.clubrank-badge {
    background: #e74c3c;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85em;
}

.clubrank-toggle-icon {
    transition: transform 0.3s ease;
}

.clubrank-admin-panel.open .clubrank-toggle-icon {
    transform: rotate(180deg);
}

.clubrank-admin-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.clubrank-reservations-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.clubrank-reservation-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    border-right: 4px solid #ffc107;
}

.clubrank-reservation-item.completed {
    border-right-color: #28a745;
    opacity: 0.7;
}

.clubrank-reservation-header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.clubrank-reservation-date {
    color: #666;
    font-size: 0.85em;
}

.clubrank-status-badge {
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8em;
}

.clubrank-status-pending {
    background: #fff3cd;
    color: #856404;
}

.clubrank-status-completed {
    background: #d4edda;
    color: #155724;
}

.clubrank-reservation-details {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}

.clubrank-reservation-details p {
    margin: 8px 0;
}

.clubrank-reservation-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.clubrank-btn-delete {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
}

.clubrank-btn-expand {
    background: transparent;
    border: 1px solid #ddd;
    padding: 5px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85em;
    color: #666;
}

.clubrank-btn-expand:hover {
    background: #eee;
}

.clubrank-no-reservations {
    text-align: center;
    color: #666;
    padding: 20px;
}

.clubrank-rating-section {
    text-align: center;
    padding: 18px 15px;
    background: linear-gradient(145deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.clubrank-rating-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.clubrank-stars-display {
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.clubrank-stars {
    display: inline-flex;
    direction: ltr;
    perspective: 500px;
}

.clubrank-star-full,
.clubrank-star-half,
.clubrank-star-empty {
    font-size: 22px;
    margin: 0 2px;
    display: inline-block;
    transform-style: preserve-3d;
    animation: starFloat 3s ease-in-out infinite;
}

.clubrank-star-full:nth-child(1) { animation-delay: 0s; }
.clubrank-star-full:nth-child(2) { animation-delay: 0.15s; }
.clubrank-star-full:nth-child(3) { animation-delay: 0.3s; }
.clubrank-star-full:nth-child(4) { animation-delay: 0.45s; }
.clubrank-star-full:nth-child(5) { animation-delay: 0.6s; }

@keyframes starFloat {
    0%, 100% { 
        transform: translateY(0) rotateY(0deg) scale(1);
    }
    25% { 
        transform: translateY(-3px) rotateY(15deg) scale(1.1);
    }
    50% { 
        transform: translateY(0) rotateY(0deg) scale(1);
    }
    75% { 
        transform: translateY(-2px) rotateY(-10deg) scale(1.05);
    }
}

.clubrank-star-full {
    color: transparent;
    background: linear-gradient(180deg, #fff9c4 0%, #ffd700 30%, #ffb300 70%, #ff8f00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4)) 
            drop-shadow(0 0 8px rgba(255, 215, 0, 0.8))
            drop-shadow(0 0 15px rgba(255, 193, 7, 0.5));
    animation: starFloat 3s ease-in-out infinite, starPulse 1.5s ease-in-out infinite alternate;
}

@keyframes starPulse {
    from { 
        filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4)) 
                drop-shadow(0 0 8px rgba(255, 215, 0, 0.6))
                drop-shadow(0 0 12px rgba(255, 193, 7, 0.4));
    }
    to { 
        filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4)) 
                drop-shadow(0 0 12px rgba(255, 215, 0, 1))
                drop-shadow(0 0 25px rgba(255, 193, 7, 0.8));
    }
}

.clubrank-star-half {
    color: transparent;
    background: linear-gradient(180deg, #fff9c4 0%, #ffd700 40%, #bdbdbd 60%, #9e9e9e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3)) 
            drop-shadow(0 0 6px rgba(255, 215, 0, 0.5));
}

.clubrank-star-empty {
    color: rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3), inset 0 -1px 0 rgba(255,255,255,0.1);
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.clubrank-avg-rating {
    font-size: 1.8em;
    font-weight: 800;
    color: #fff;
    display: block;
    margin-top: 5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.clubrank-vote-count {
    font-size: 0.75em;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.clubrank-rate-now {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.clubrank-rate-now p {
    margin: 0 0 8px;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.clubrank-stars-input {
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 10px;
    border-radius: 25px;
    backdrop-filter: blur(5px);
}

.clubrank-stars-input .clubrank-star {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.clubrank-stars-input .clubrank-star:hover,
.clubrank-stars-input .clubrank-star:hover ~ .clubrank-star {
    color: #ffd700;
    transform: scale(1.3) translateY(-3px);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.9), 0 4px 8px rgba(0,0,0,0.3);
}

/* Gender Schedule */
.clubrank-gender-schedule {
    margin: 12px 0;
}

.clubrank-gender-schedule:empty {
    display: none;
    margin: 0;
}

.clubrank-genders {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.clubrank-genders:empty {
    display: none;
}

.gender-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85em;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.gender-tag:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.gender-tag.active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
}

.gender-schedule-display {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8ecff 100%);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.gender-schedule-display .schedule-icon {
    font-size: 20px;
}

.gender-schedule-display .schedule-text {
    color: #4a5568;
    font-size: 0.9em;
    font-weight: 500;
}

.gender-tag-girl {
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
    color: #fff;
}

.gender-tag-boy {
    background: linear-gradient(135deg, #4169e1 0%, #1e90ff 100%);
    color: #fff;
}

.gender-tag-woman {
    background: linear-gradient(135deg, #c71585 0%, #db7093 100%);
    color: #fff;
}

.gender-tag-man {
    background: linear-gradient(135deg, #2e4057 0%, #4682b4 100%);
    color: #fff;
}

/* Work Schedule Tabs */
.clubrank-schedule-tabs {
    margin: 12px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8ecff 100%);
    border-radius: 14px;
    padding: 12px 15px;
    border: 1px solid rgba(102, 126, 234, 0.15);
}

.schedule-tabs-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.schedule-icon {
    font-size: 22px;
}

.schedule-title {
    font-weight: 700;
    color: #667eea;
    font-size: 0.9em;
}

.schedule-day-tabs {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.schedule-tab {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #667eea;
    background: #fff;
    color: #667eea;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule-tab:hover {
    background: #667eea;
    color: #fff;
    transform: scale(1.1);
}

.schedule-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
}

.schedule-display {
    margin-top: 10px;
    padding: 10px 15px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.schedule-day-name {
    font-weight: 700;
    color: #667eea;
    font-size: 0.95em;
    min-width: 70px;
}

.schedule-hours {
    color: #4a5568;
    font-size: 0.95em;
    font-weight: 500;
}

.schedule-hours.closed {
    color: #e74c3c;
}

/* Old Work Schedule (fallback) */
.clubrank-schedule {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0;
    padding: 12px 15px;
    background: linear-gradient(135deg, #f8f9fc 0%, #eef1f6 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.clubrank-schedule-icon {
    font-size: 24px;
    line-height: 1;
}

.clubrank-schedule-content {
    flex: 1;
}

.clubrank-schedule-content strong {
    display: block;
    color: #4a5568;
    margin-bottom: 5px;
    font-size: 0.9em;
}

.clubrank-schedule-times {
    font-size: 0.85em;
    color: #718096;
    line-height: 1.8;
}

.clubrank-already-voted {
    color: #fff;
    font-size: 0.85em;
    margin-top: 12px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.clubrank-no-clubs {
    text-align: center;
    padding: 40px;
    color: #888;
    background: #f9f9f9;
    border-radius: 12px;
}

.clubrank-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 25px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    z-index: 9999;
    animation: clubrank-slide-in 0.3s ease;
}

.clubrank-message.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.clubrank-message.error {
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
}

@keyframes clubrank-slide-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 768px) {
    .clubrank-clubs-container,
    .clubrank-clubs-wrapper {
        padding: 10px 5px;
    }
    
    .clubrank-club-card {
        display: flex !important;
        flex-direction: column !important;
        text-align: center;
        padding: 15px 10px;
        gap: 12px;
        overflow: hidden;
    }
    
    .clubrank-club-logo {
        margin: 0 auto;
        width: 70px;
        height: 70px;
    }
    
    .clubrank-club-info {
        width: 100%;
    }
    
    .clubrank-club-name {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .clubrank-address-box {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        text-align: center;
    }
    
    .clubrank-address-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .clubrank-address-text {
        font-size: 13px;
    }
    
    .clubrank-map-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
        width: 100%;
        margin-top: 8px;
    }
    
    .clubrank-map-btn {
        font-size: 11px;
        padding: 6px 8px;
        flex: 0 0 auto;
        min-width: auto;
        white-space: nowrap;
    }
    
    .clubrank-map-btn .btn-text {
        display: none;
    }
    
    .clubrank-map-btn .btn-icon {
        font-size: 14px;
    }
    
    .clubrank-contact-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px;
        width: 100%;
    }
    
    .clubrank-link {
        width: 100% !important;
        box-sizing: border-box;
        justify-content: center;
        padding: 10px 12px;
        font-size: 13px;
        margin: 0 !important;
    }
    
    .clubrank-link .link-icon {
        font-size: 16px;
    }
    
    .clubrank-link .link-text {
        font-size: 12px;
    }
    
    .clubrank-rating-section {
        min-width: auto;
        width: 100%;
        padding: 12px;
        margin-top: 10px;
    }
    
    .clubrank-stars {
        justify-content: center;
        gap: 3px;
    }
    
    .clubrank-star {
        font-size: 26px;
    }
    
    .clubrank-rating-info {
        font-size: 12px;
    }
    
    .clubrank-gender-schedule {
        padding: 10px;
        margin-top: 10px;
    }
    
    .clubrank-genders {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .gender-tag {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .clubrank-schedule-display {
        font-size: 12px;
        padding: 8px;
    }
    
    .clubrank-gallery-row,
    .clubrank-video-row {
        margin-top: 8px;
        width: 100%;
    }
    
    .clubrank-link-gallery,
    .clubrank-link-video {
        width: 100% !important;
        justify-content: center;
        box-sizing: border-box;
    }
    
    .clubrank-vip-badge {
        font-size: 10px;
        padding: 3px 8px;
        top: 8px;
        left: 8px;
    }
    
    .clubrank-rank-badge {
        width: 32px;
        height: 32px;
        font-size: 14px;
        top: -5px;
        right: -5px;
    }
    
    .clubrank-reservation-modal-content {
        width: 95%;
        max-width: none;
        margin: 10px;
        padding: 15px;
    }
    
    .clubrank-lightbox-content {
        padding: 10px;
    }
    
    .clubrank-lightbox-content img {
        max-height: 70vh;
        max-width: 95vw;
    }
    
    .clubrank-lightbox-nav {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .clubrank-video-modal-content,
    .clubrank-map-modal-content {
        width: 96%;
        height: 60%;
        max-width: none;
    }
    
    .clubrank-map-modal-header {
        flex-direction: column;
        gap: 8px;
        padding: 10px;
        padding-right: 45px;
    }
    
    .clubrank-map-modal-title {
        font-size: 13px;
    }
    
    .clubrank-map-modal-close {
        width: 32px;
        height: 32px;
        font-size: 20px;
        top: 8px;
        left: 8px;
    }
    
    .clubrank-map-modal-open-external {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .clubrank-instagram-followers {
        font-size: 10px;
        padding: 2px 6px;
    }
}

@media (max-width: 400px) {
    .clubrank-club-card {
        padding: 10px 8px;
    }
    
    .clubrank-club-logo {
        width: 55px;
        height: 55px;
    }
    
    .clubrank-club-name {
        font-size: 14px;
    }
    
    .clubrank-star {
        font-size: 22px;
    }
    
    .clubrank-link {
        font-size: 11px;
        padding: 8px 10px;
    }
    
    .clubrank-link .link-icon {
        font-size: 14px;
    }
    
    .gender-tag {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .clubrank-map-btn {
        padding: 5px 6px;
    }
    
    .clubrank-map-btn .btn-icon {
        font-size: 12px;
    }
    
    .clubrank-address-text {
        font-size: 12px;
    }
    
    .clubrank-lightbox-nav {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .clubrank-lightbox-prev {
        left: 3px;
    }
    
    .clubrank-lightbox-next {
        right: 3px;
    }
}

.clubrank-bid-form-container {
    max-width: 700px;
    margin: 30px auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 5px;
}

.bid-form-header {
    text-align: center;
    padding: 30px;
    color: #fff;
}

.bid-form-header h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.bid-form-header p {
    margin: 0;
    opacity: 0.9;
}

.clubrank-bid-form {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
}

.clubrank-bid-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.clubrank-bid-form .form-group {
    flex: 1;
}

.clubrank-bid-form .form-group.full-width {
    width: 100%;
}

.clubrank-bid-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.clubrank-bid-form input,
.clubrank-bid-form select,
.clubrank-bid-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.clubrank-bid-form input:focus,
.clubrank-bid-form select:focus,
.clubrank-bid-form textarea:focus {
    border-color: #667eea;
    outline: none;
}

.bid-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 10px;
}

.bid-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.bid-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#bid-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

#bid-form-message.success {
    background: #d4edda;
    color: #155724;
}

#bid-form-message.error {
    background: #f8d7da;
    color: #721c24;
}

@media (max-width: 600px) {
    .clubrank-bid-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .clubrank-bid-form .form-group {
        margin-bottom: 20px;
    }
}

.clubrank-bid-position-btn {
    display: block;
    width: 100%;
    padding: 10px 15px;
    margin-top: 8px;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clubrank-bid-position-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

.clubrank-position-bids {
    margin-top: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-radius: 10px;
    border: 1px solid #ffd54f;
}

.clubrank-position-bids h5 {
    margin: 0 0 10px;
    font-size: 13px;
    color: #f57c00;
}

.clubrank-bid-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 5px;
    font-size: 13px;
}

.clubrank-bid-item.highest {
    background: linear-gradient(135deg, #fff9c4 0%, #fff176 100%);
    border: 2px solid #ffd600;
}

.clubrank-bid-item .bid-rank {
    font-size: 18px;
}

.clubrank-bid-item .bid-club {
    flex: 1;
    font-weight: 600;
    color: #333;
}

.clubrank-bid-item .bid-amount {
    font-weight: 700;
    color: #27ae60;
}

.clubrank-bid-modal {
    max-width: 500px;
}

.clubrank-bid-modal .clubrank-modal-header {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

/* Admin Stats */
.clubrank-admin-stats {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 10px;
    padding: 12px 15px;
    margin: 10px 0;
    border: 1px solid #90caf9;
}

.clubrank-admin-stats h5 {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #1565c0;
    font-weight: 600;
}

.clubrank-stats-mini-chart {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mini-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.mini-stat .stat-icon {
    font-size: 14px;
}

.mini-stat .stat-label {
    color: #666;
}

.mini-stat .stat-count {
    background: #1976d2;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
    min-width: 24px;
    text-align: center;
}

.clubrank-coach-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--coach-color1, #e74c3c) 0%, var(--coach-color2, #c0392b) 100%);
    padding: 10px 16px;
    border-radius: 10px;
    margin-bottom: 12px;
    color: #fff;
    font-size: 14px;
    flex-wrap: wrap;
}

.clubrank-coach-info .coach-icon {
    font-size: 1.3em;
    animation: clubrank-icon-bounce 2s ease-in-out infinite;
}

.clubrank-coach-info .coach-label {
    font-weight: 700;
}

.clubrank-coach-info .coach-type {
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
}

.clubrank-coach-info .coach-count {
    background: rgba(255,255,255,0.3);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
}

/* Quality Rating Button */
.clubrank-quality-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

.clubrank-quality-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.5);
}

/* Quality Progress Bars */
.clubrank-quality-bars {
    margin-top: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.15);
}

.clubrank-quality-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 0;
}

.clubrank-quality-bar-row:last-child {
    margin-bottom: 0;
}

.clubrank-quality-bar-row .quality-icon {
    font-size: 18px;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.clubrank-quality-bar-row .quality-label {
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
    min-width: 100px;
    flex-shrink: 0;
}

.clubrank-quality-bar-row .quality-bar-track {
    flex: 1;
    height: 12px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.clubrank-quality-bar-row .quality-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    transition: width 0.5s ease;
    min-width: 2px;
}

.clubrank-quality-bar-row .quality-value {
    font-size: 12px;
    font-weight: 700;
    color: #667eea;
    min-width: 30px;
    text-align: left;
}

/* Quality Rating Modal */
.clubrank-quality-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.clubrank-quality-modal.active {
    display: flex;
}

.clubrank-quality-modal-content {
    background: #fff;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    animation: modal-appear 0.3s ease-out;
}

.clubrank-quality-modal-header {
    background: linear-gradient(135deg, #9c27b0 0%, #673ab7 100%);
    padding: 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clubrank-quality-modal-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.clubrank-quality-modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.clubrank-quality-modal-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.clubrank-quality-modal-body {
    padding: 25px;
}

.clubrank-quality-item {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
}

.clubrank-quality-item:last-child {
    margin-bottom: 0;
}

.clubrank-quality-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.clubrank-quality-item-header .q-icon {
    font-size: 24px;
}

.clubrank-quality-item-header .q-label {
    font-weight: 700;
    color: #2d3748;
    flex: 1;
}

.clubrank-quality-item-header .q-avg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
}

.clubrank-quality-stars-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 5px;
}

.clubrank-quality-stars-input .q-star {
    font-size: 28px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s;
}

.clubrank-quality-stars-input .q-star:hover,
.clubrank-quality-stars-input .q-star.active {
    color: #ffc107;
    transform: scale(1.2);
}

.clubrank-quality-stars-input .q-star.selected {
    color: #ffc107;
}

.clubrank-quality-item.voted {
    opacity: 0.7;
    pointer-events: none;
}

.clubrank-quality-item.voted::after {
    content: '✓ رأی داده‌اید';
    display: block;
    text-align: center;
    color: #28a745;
    font-size: 12px;
    margin-top: 8px;
    font-weight: 600;
}

.clubrank-quality-message {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 600;
}

.clubrank-quality-message.success {
    background: #d4edda;
    color: #155724;
}

.clubrank-quality-message.error {
    background: #f8d7da;
    color: #721c24;
}

@media (max-width: 480px) {
    .clubrank-quality-bar-row .quality-label {
        min-width: 70px;
        font-size: 11px;
    }
    
    .clubrank-quality-stars-input .q-star {
        font-size: 24px;
    }
}

/* Owner Panel Form Styles - Premium Edition */
.clubrank-owner-panel-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Vazir', 'Tahoma', sans-serif;
    direction: rtl;
}

.owner-panel-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 45px 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 24px;
    color: #fff;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4), 0 0 0 1px rgba(255,255,255,0.1) inset;
    position: relative;
    overflow: hidden;
}

.owner-panel-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: ownerPanelShimmer 8s linear infinite;
}

@keyframes ownerPanelShimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.owner-panel-header h2 {
    margin: 0 0 15px 0;
    font-size: 32px;
    font-weight: 900;
    position: relative;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.owner-panel-header h2::before {
    content: '🏢';
    font-size: 40px;
    animation: ownerIconBounce 2s ease-in-out infinite;
}

@keyframes ownerIconBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.1); }
}

.owner-panel-header p {
    margin: 0;
    opacity: 0.95;
    font-size: 16px;
    line-height: 1.8;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.clubrank-owner-form {
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border-radius: 24px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.1), 0 0 0 1px rgba(102, 126, 234, 0.1);
    overflow: hidden;
    position: relative;
}

.clubrank-owner-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #764ba2, #667eea);
    background-size: 200% 100%;
    animation: gradientSlide 3s linear infinite;
}

@keyframes gradientSlide {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.clubrank-owner-form .form-section {
    padding: 30px 35px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    transition: background 0.3s ease;
}

.clubrank-owner-form .form-section:hover {
    background: rgba(102, 126, 234, 0.02);
}

.clubrank-owner-form .form-section:last-of-type {
    border-bottom: none;
}

.clubrank-owner-form .form-section h3 {
    margin: 0 0 25px 0;
    font-size: 20px;
    font-weight: 800;
    color: transparent;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px dashed rgba(102, 126, 234, 0.2);
}

.clubrank-owner-form .form-section h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    animation: sectionDot 1.5s ease-in-out infinite;
}

@keyframes sectionDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.clubrank-owner-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 20px;
}

.clubrank-owner-form .form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.clubrank-owner-form .form-group.full-width {
    grid-column: 1 / -1;
}

.clubrank-owner-form .form-group label {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.clubrank-owner-form .form-group:focus-within label {
    color: #667eea;
}

.clubrank-owner-form .form-group label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.2), transparent);
    margin-right: 10px;
}

.clubrank-owner-form .form-group input,
.clubrank-owner-form .form-group textarea,
.clubrank-owner-form .form-group select {
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) inset;
}

.clubrank-owner-form .form-group input::placeholder,
.clubrank-owner-form .form-group textarea::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

.clubrank-owner-form .form-group input:hover,
.clubrank-owner-form .form-group textarea:hover,
.clubrank-owner-form .form-group select:hover {
    border-color: #cbd5e0;
    background: #ffffff;
}

.clubrank-owner-form .form-group input:focus,
.clubrank-owner-form .form-group textarea:focus,
.clubrank-owner-form .form-group select:focus {
    outline: none;
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15), 0 4px 12px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.clubrank-owner-form .form-group input[type="file"] {
    padding: 12px 15px;
    cursor: pointer;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border-style: dashed;
}

.clubrank-owner-form .form-group input[type="file"]:hover {
    background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
    border-color: #667eea;
}

.clubrank-owner-form .form-group small {
    color: #718096;
    font-size: 12px;
    margin-top: 8px;
    padding-right: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.clubrank-owner-form .form-group small::before {
    content: '💡';
    font-size: 11px;
}

.clubrank-owner-form .gender-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.clubrank-owner-form .gender-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.clubrank-owner-form .gender-checkbox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.clubrank-owner-form .gender-checkbox:hover {
    border-color: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.clubrank-owner-form .gender-checkbox:hover::before {
    opacity: 0.5;
}

.clubrank-owner-form .gender-checkbox input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
    position: relative;
    z-index: 1;
}

.clubrank-owner-form .gender-checkbox span {
    font-weight: 600;
    font-size: 15px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.clubrank-owner-form .gender-checkbox input:checked + span {
    color: #667eea;
    font-weight: 700;
}

.clubrank-owner-form .gender-checkbox:has(input:checked) {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
}

.clubrank-owner-form .gender-checkbox:has(input:checked)::before {
    opacity: 1;
}

.clubrank-owner-form .schedule-row {
    margin-top: 15px;
}

.owner-submit-btn {
    display: block;
    width: calc(100% - 70px);
    margin: 35px;
    padding: 20px 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 100%;
    color: #fff;
    border: none;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.owner-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.owner-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.5);
    background-position: 100% 0%;
}

.owner-submit-btn:hover::before {
    left: 100%;
}

.owner-submit-btn:active {
    transform: translateY(-1px);
}

.owner-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

#owner-panel-message {
    margin: 0 35px 35px;
    padding: 18px 25px;
    border-radius: 14px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    animation: messageSlide 0.5s ease;
}

@keyframes messageSlide {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

#owner-panel-message.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #28a745;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.2);
}

#owner-panel-message.success::before {
    content: '✅ ';
}

#owner-panel-message.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 2px solid #dc3545;
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.2);
}

#owner-panel-message.error::before {
    content: '❌ ';
}

@media (max-width: 768px) {
    .clubrank-owner-panel-container {
        padding: 0 15px;
        margin: 25px auto;
    }
    
    .owner-panel-header {
        padding: 30px 20px;
        border-radius: 18px;
    }
    
    .owner-panel-header h2 {
        font-size: 24px;
        flex-direction: column;
        gap: 10px;
    }
    
    .owner-panel-header h2::before {
        font-size: 35px;
    }
    
    .owner-panel-header p {
        font-size: 14px;
    }
    
    .clubrank-owner-form {
        border-radius: 18px;
    }
    
    .clubrank-owner-form .form-section {
        padding: 25px 20px;
    }
    
    .clubrank-owner-form .form-section h3 {
        font-size: 17px;
    }
    
    .clubrank-owner-form .form-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .clubrank-owner-form .gender-checkboxes {
        flex-direction: column;
    }
    
    .clubrank-owner-form .gender-checkbox {
        justify-content: center;
    }
    
    .owner-submit-btn {
        width: calc(100% - 40px);
        margin: 25px 20px;
        font-size: 17px;
        padding: 18px 25px;
        border-radius: 14px;
    }
    
    #owner-panel-message {
        margin: 0 20px 25px;
    }
}

/* ===== Owner Dashboard Styles ===== */
.clubrank-owner-dashboard {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
    direction: rtl;
}

.owner-dashboard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 35px 40px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.owner-dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    animation: dashboardShimmer 3s ease-in-out infinite;
}

@keyframes dashboardShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.owner-dashboard-header h2 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.owner-dashboard-header p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 15px;
    position: relative;
    z-index: 1;
}

.owner-dashboard-search {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.search-input-group {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

.search-input-group input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    direction: ltr;
    text-align: left;
    transition: all 0.3s ease;
}

.search-input-group input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    outline: none;
}

.search-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 16px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.search-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submissions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.submission-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 2px solid #e8e8f0;
    transition: all 0.3s ease;
}

.submission-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.submission-card.status-approved {
    border-color: #28a745;
}

.submission-card.status-rejected {
    border-color: #dc3545;
}

.submission-card.status-pending {
    border-color: #ffc107;
}

.submission-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    border-bottom: 1px solid #e8e8f0;
}

.club-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.club-logo-thumb {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.club-logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.club-info h3 {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
}

.submit-date {
    font-size: 13px;
    color: #718096;
}

.status-badge {
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
}

.status-badge.status-approved {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.status-badge.status-rejected {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

.status-badge.status-pending {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe8a1 100%);
    color: #856404;
}

.submission-details {
    padding: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f5;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row.highlight {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    margin: 10px -20px;
    padding: 15px 20px;
    border-radius: 10px;
}

.detail-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 14px;
}

.detail-value {
    color: #2d3748;
    font-weight: 700;
    font-size: 15px;
}

.detail-value.vip-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
}

.remaining-days {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
}

.rejection-reason {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border: 2px solid #fc8181;
    border-radius: 12px;
    padding: 18px;
    margin-top: 15px;
}

.rejection-reason strong {
    color: #c53030;
    font-size: 15px;
    display: block;
    margin-bottom: 8px;
}

.rejection-reason p {
    margin: 0;
    color: #742a2a;
    font-size: 14px;
    line-height: 1.6;
}

.club-stats {
    padding: 20px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8ecff 100%);
    border-top: 2px solid #667eea;
}

.club-stats h4 {
    margin: 0 0 20px;
    color: #4a5568;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-item {
    background: #fff;
    border-radius: 12px;
    padding: 18px 12px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.stat-icon {
    display: block;
    font-size: 28px;
    margin-bottom: 8px;
}

.stat-value {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #718096;
    font-weight: 600;
}

.no-submissions {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe8a1 100%);
    border: 2px solid #ffc107;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: #856404;
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .clubrank-owner-dashboard {
        padding: 0 15px;
        margin: 20px auto;
    }
    
    .owner-dashboard-header {
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    .owner-dashboard-header h2 {
        font-size: 22px;
    }
    
    .search-input-group {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .submission-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .club-info {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detail-row {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .detail-row.highlight {
        margin: 10px -15px;
        padding: 15px;
    }
}

/* ==================== Auth Form Styles ==================== */
.clubrank-auth-container {
    max-width: 450px;
    margin: 30px auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.clubrank-auth-container.clubrank-logged-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.clubrank-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.clubrank-user-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.35);
}

.clubrank-user-details h3 {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
}

.clubrank-user-role {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.clubrank-auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    background: #f0f3f8;
    padding: 5px;
    border-radius: 12px;
}

.clubrank-auth-tab {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #718096;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.clubrank-auth-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35);
}

.clubrank-auth-panel {
    display: none;
}

.clubrank-auth-panel.active {
    display: block;
}

.clubrank-auth-form .clubrank-form-group {
    margin-bottom: 20px;
}

.clubrank-auth-form .clubrank-form-group label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 14px;
}

.clubrank-auth-form input,
.clubrank-auth-form select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
}

.clubrank-auth-form input:focus,
.clubrank-auth-form select:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.clubrank-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.clubrank-btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

.clubrank-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.45);
}

.clubrank-btn-logout {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

.clubrank-btn-logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.4);
    color: #fff;
}

.clubrank-auth-message {
    margin-top: 15px;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.clubrank-auth-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.clubrank-auth-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ==================== Messages Panel Styles ==================== */
.clubrank-messages-login-required {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffe8a1 100%);
    border-radius: 16px;
    color: #856404;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #ffc107;
}

.clubrank-messages-container {
    max-width: 1000px;
    margin: 30px auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.clubrank-messages-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clubrank-messages-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.clubrank-btn-new-message {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clubrank-btn-new-message:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.clubrank-messages-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 500px;
}

.clubrank-conversations-list {
    background: #f8f9fc;
    border-left: 1px solid #e2e8f0;
    overflow-y: auto;
    max-height: 500px;
}

.clubrank-conversation-item {
    padding: 18px 20px;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.clubrank-conversation-item:hover,
.clubrank-conversation-item.active {
    background: #fff;
}

.clubrank-conversation-item.active {
    border-right: 4px solid #667eea;
}

.clubrank-conv-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
}

.clubrank-conv-info {
    flex: 1;
    min-width: 0;
}

.clubrank-conv-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clubrank-conv-role {
    font-size: 11px;
    color: #718096;
}

.clubrank-conv-time {
    font-size: 11px;
    color: #a0aec0;
}

.clubrank-conv-unread {
    background: #f56565;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.clubrank-messages-content {
    padding: 25px;
    overflow-y: auto;
    max-height: 500px;
    background: #fafbfc;
}

.clubrank-no-conversation-selected {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    font-size: 15px;
}

.clubrank-message-item {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.clubrank-message-item.mine {
    align-items: flex-start;
}

.clubrank-message-item.theirs {
    align-items: flex-end;
}

.clubrank-message-bubble {
    max-width: 70%;
    padding: 15px 20px;
    border-radius: 18px;
    position: relative;
}

.clubrank-message-item.mine .clubrank-message-bubble {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-bottom-right-radius: 5px;
}

.clubrank-message-item.theirs .clubrank-message-bubble {
    background: #fff;
    color: #2d3748;
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.clubrank-message-subject {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
}

.clubrank-message-text {
    font-size: 14px;
    line-height: 1.6;
}

.clubrank-message-meta {
    margin-top: 8px;
    font-size: 11px;
    opacity: 0.7;
}

.clubrank-reply-form {
    padding: 20px 25px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.clubrank-reply-form textarea {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    resize: none;
    font-size: 14px;
    min-height: 50px;
}

.clubrank-reply-form textarea:focus {
    border-color: #667eea;
    outline: none;
}

.clubrank-reply-form button {
    padding: 12px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clubrank-reply-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

/* Message Modal */
.clubrank-new-message-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.clubrank-new-message-modal.active {
    display: flex;
}

.clubrank-new-message-modal .clubrank-modal-content {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.clubrank-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.clubrank-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.clubrank-modal-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.clubrank-modal-close:hover {
    opacity: 1;
}

#clubrank-new-message-form {
    padding: 25px;
}

#clubrank-new-message-form .clubrank-form-group {
    margin-bottom: 20px;
}

#clubrank-new-message-form label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 14px;
}

#clubrank-new-message-form input,
#clubrank-new-message-form select,
#clubrank-new-message-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

#clubrank-new-message-form input:focus,
#clubrank-new-message-form select:focus,
#clubrank-new-message-form textarea:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.clubrank-message-result {
    margin-top: 15px;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    display: none;
}

.clubrank-message-result.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.clubrank-message-result.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

.clubrank-loading {
    text-align: center;
    padding: 40px;
    color: #718096;
}

@media (max-width: 768px) {
    .clubrank-messages-layout {
        grid-template-columns: 1fr;
    }
    
    .clubrank-conversations-list {
        max-height: 250px;
        border-left: none;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .clubrank-auth-container.clubrank-logged-in {
        flex-direction: column;
        text-align: center;
    }
    
    .clubrank-user-info {
        flex-direction: column;
    }
}
