/* Reviews Page Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Content */
main {
    padding-top: 100px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* Article Container */
.article-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Title */
.titleH1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

/* Review Cards */
.review-card {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: white;
    padding: 35px;
    border-radius: 20px;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.12);
    border-color: #3b82f6;
}

.review-card:hover::before {
    transform: translateY(0);
}

/* Review Content */
.review-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.review__wrp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.review-content h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #1e293b;
    font-weight: 700;
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.review-service {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6 10%, #2563eb 100%);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.025em;
}

.review-comment {
    margin: 0.5rem 0;
    line-height: 1.7;
    color: #475569;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    font-size: 1.05rem;
}

.review-meta {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
    align-items: center;
}

.review-rating {
    font-size: 1.3rem;
    color: #fbbf24;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(251, 191, 36, 0.2);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
    padding: 40px 0;
}

.pagination .btn,
.pagination .current {
    min-width: 45px;
    height: 45px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #1e293b;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pagination .btn:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
}

.pagination .current {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-color: transparent;
    cursor: default;
    pointer-events: none;
}

.pagination .ellipsis {
    color: #94a3b8;
    font-weight: 500;
}

/* Review Form Section */
.review-form-section {
    width: calc(100% - 2rem);
    max-width: 800px;
    margin: 80px auto 40px;
    padding: 50px;
    background: white;
    border: 2px solid transparent;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.review-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #6366f1 50%, #3b82f6 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

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

.review-form-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 20px;
}

.review-form-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
    border-radius: 2px;
}

/* Form Styles */
#jqr_review_form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

#jqr_review_form label {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

#jqr_review_form input,
#jqr_review_form textarea {
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
}

#jqr_review_form input:focus,
#jqr_review_form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

#jqr_review_form textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

/* Star Rating */
.jqr_star-rating {
    display: flex;
    gap: 8px;
    font-size: 2.2rem !important;
    margin: 10px 0;
}

.jqr_star-rating i {
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: #fbbf24 !important;
}

.jqr_star-rating i:hover {
    transform: scale(1.15) translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.4));
}

.jqr_star-rating i.fas {
    animation: starPulse 0.3s ease;
}

@keyframes starPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.25); }
    100% { transform: scale(1.1); }
}

/* Submit Button */
#jqr_submit {
    align-self: center;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 16px 48px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 20px;
}

#jqr_submit:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

#jqr_submit:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

#jqr_submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Error Messages */
.jqr_error-message {
    color: #ef4444 !important;
    font-size: 0.9rem;
    margin-top: 5px;
    font-weight: 500;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Nav Home Link Styles */
.nav-home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.nav-home-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-home-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.35);
}

.nav-home-link:hover::before {
    opacity: 1;
}

.nav-home-link svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.nav-home-link span {
    position: relative;
    z-index: 1;
    letter-spacing: 0.025em;
}

.nav-home-link:hover svg {
    transform: scale(1.1);
}

.nav-home-link:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.2);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .review-form-section {
        width: calc(100% - 3rem);
        margin: 60px auto 30px;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .titleH1 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .nav-home-link span {
        display: none;
    }
    
    .nav-home-link {
        padding: 8px 14px;
    }
    
    .nav-home-link svg {
        width: 20px;
        height: 20px;
    }
    
    .review-card {
        padding: 25px;
        flex-direction: column;
    }
    
    .review-content h3 {
        font-size: 1.2rem;
    }
    
    .review-comment {
        padding: 15px;
        font-size: 1rem;
    }
    
    .review-form-section {
        width: calc(100% - 2rem);
        margin: 50px auto 25px;
        padding: 30px;
        border-radius: 20px;
    }
    
    .review-form-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    #jqr_review_form input,
    #jqr_review_form textarea {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    #jqr_submit {
        width: 100%;
        padding: 14px 32px;
        font-size: 1rem;
    }
    
    .jqr_star-rating {
        justify-content: center;
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {
    main {
        padding-top: 80px;
    }
    
    .article-container {
        padding: 20px 10px;
    }
    
    .titleH1 {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .review-card {
        padding: 20px;
        margin-bottom: 1.5rem;
        border-radius: 16px;
    }
    
    .review-content h3 {
        font-size: 1.1rem;
    }
    
    .review-service {
        font-size: 0.85rem;
        padding: 5px 12px;
    }
    
    .review-comment {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    .review-rating {
        font-size: 1.1rem;
    }
    
    .pagination {
        margin-top: 40px;
        padding: 30px 0;
    }
    
    .pagination .btn,
    .pagination .current {
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .review-form-section {
        width: calc(100% - 1rem);
        margin: 40px auto 20px;
        padding: 25px 15px;
        border-radius: 16px;
    }
    
    .review-form-section h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    #jqr_review_form {
        gap: 1.2rem;
    }
    
    #jqr_review_form input,
    #jqr_review_form textarea {
        padding: 10px 14px;
        font-size: 0.9rem;
        border-radius: 10px;
    }
    
    #jqr_review_form textarea {
        min-height: 120px;
    }
    
    .jqr_star-rating {
        font-size: 1.8rem !important;
        gap: 5px;
    }
    
    #jqr_submit {
        padding: 12px 24px;
        font-size: 0.95rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 375px) {
    .review-form-section {
        padding: 20px 12px;
    }
    
    .review-form-section h2 {
        font-size: 1.3rem;
    }
    
    .jqr_star-rating {
        font-size: 1.6rem !important;
    }
}