body .devops-survey-trial-container {
    color: #2c3e50;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    /* background-color: #f9fafb; */
}

.devops-survey-trial-container .survey-card {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: white;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.devops-survey-trial-container .survey-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #5785e7, #5785e7);
}

.devops-survey-trial-container .survey-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.devops-survey-trial-container .question-title {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    line-height: 1.4;
    position: relative;
    padding-left: 0;
}

.devops-survey-trial-container .question-number {
    display: inline-block;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.75rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #5785e7, #5785e7);
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
}

.devops-survey-trial-container .form-check {
    margin-bottom: 0.875rem;
    padding-left: 2rem;
    position: relative;
    transition: all 0.2s ease;
}

.devops-survey-trial-container .form-check-input {
    width: 1.125rem;
    height: 1.125rem;
    /* margin-top: 0.25rem; */
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    transition: all 0.2s ease;
    position: absolute;
    left: 1.5rem;
    /* top: 0.25rem; */
}

.devops-survey-trial-container .form-check-input:checked {
    background-color: #1e88e5;
    border-color: #1e88e5;
}

.devops-survey-trial-container .form-check-label {
    font-size: 1rem;
    padding: 0.25rem 0;
    color: #4a5568;
    transition: color 0.2s ease;
    display: block;
    cursor: pointer;
}

.devops-survey-trial-container .form-check:hover .form-check-label {
    color: #1e88e5;
}

.devops-survey-trial-container .survey-icon {
    width: 110px;
    height: auto;
    margin-left: auto;
    margin-right: 1rem;
    /* opacity: 0.85; */
    /* filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1)); */
}

.devops-survey-trial-container .slider-container {
    width: 100%;
    padding: 1.5rem 0 1rem;
}

.devops-survey-trial-container .result-card {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    margin-top: 2.5rem;
    padding: 2rem;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.devops-survey-trial-container .result-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #43a047, #66bb6a);
}

.devops-survey-trial-container .result-title {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.devops-survey-trial-container .progress {
    height: 8px;
    margin-bottom: 2rem;
    border-radius: 4px;
    background-color: #e2e8f0;
    overflow: hidden;
}

.devops-survey-trial-container .progress-bar {
    background: linear-gradient(90deg, #5785e7, #5785e7);
    border-radius: 4px;
}

.devops-survey-trial-container .btn-primary {
    background: linear-gradient(135deg, #5785e7, #5785e7);
    border: none;
    padding: 0.875rem 1.75rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.25s ease;
    font-size: 1rem;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 10px rgba(30, 136, 229, 0.3);
    position: relative;
    overflow: hidden;
}

.devops-survey-trial-container .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(30, 136, 229, 0.4);
}

.devops-survey-trial-container .btn-primary:active {
    transform: translateY(1px);
}

.devops-survey-trial-container .btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.devops-survey-trial-container .btn-primary:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.devops-survey-trial-container .rating-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.devops-survey-trial-container .alert-box {
    display: none;
    margin-top: 1rem;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
}

.devops-survey-trial-container .alert-success {
    background-color: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}

.devops-survey-trial-container h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #5785e7, #5785e7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.devops-survey-trial-container h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.devops-survey-trial-container header {
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
}

.devops-survey-trial-container .survey-description {
    color: #64748b;
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    line-height: 1.6;
}

.devops-survey-trial-container .survey-footer {
    margin-top: 3rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
}

.devops-survey-trial-container .required-field::after {
    content: "*";
    color: #e53e3e;
    margin-left: 0.25rem;
}

.devops-survey-trial-container .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.devops-survey-trial-container .card-content {
    padding-left: 0.5rem;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Card header styling */
.card-title {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 16px;
    color: #3a3a3a;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* Metric card styling */
.col-md-6 .card {
    border-left: 5px solid #4a90e2;
}

.col-md-6:nth-child(2) .card {
    border-left-color: #50c878; /* emerald green */
}

.col-md-6:nth-child(3) .card {
    border-left-color: #f39c12; /* amber */
}

.col-md-6:nth-child(4) .card {
    border-left-color: #e74c3c; /* red */
}

/* Metric result text styling */
.card-text {
    font-size: 18px;
    font-weight: 500;
    color: #444;
}

/* Team satisfaction card styling */
.card.mb-4 {
    /* background: linear-gradient(to right, #f9f9f9, #ffffff); */
    border-left: 5px solid #8e44ad; /* purple */
}

.card.mb-4 .card-text {
    font-size: 18px;
}

/* Recommendations card styling */
.card.bg-light {
    background: #ffffff !important;
    border-left: 5px solid #2c3e50;
}

#resultDescription {
    font-size: 18px;
}

#recommendations {
    font-size: 18px;
    line-height: 1.6;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .col-md-6 {
        margin-bottom: 20px;
    }

    .card-text {
        font-size: 20px;
    }
}

/* Add icons to card titles (requires FontAwesome) */
.card-title::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    background-color: #4a90e2;
}

.col-md-6:nth-child(2) .card-title::before {
    background-color: #50c878;
}
.col-md-6:nth-child(3) .card-title::before {
    background-color: #f39c12;
}
.col-md-6:nth-child(4) .card-title::before {
    background-color: #e74c3c;
}
.card.mb-4 .card-title::before {
    background-color: #8e44ad;
}
.card.bg-light .card-title::before {
    background-color: #2c3e50;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-text {
    animation: fadeIn 0.5s ease-out;
}

@media (max-width: 768px) {
    body .devops-survey-trial-container {
        padding: 1rem;
    }

    .devops-survey-trial-container .survey-card {
        padding: 1.5rem;
    }

    .devops-survey-trial-container h1 {
        font-size: 1.75rem;
    }

    .devops-survey-trial-container .card-header {
        flex-direction: column;
    }

    .devops-survey-trial-container .survey-icon {
        margin: 0 0 1rem 0;
    }
}

/* Survey Results Custom Styles */

/* Button untuk request detailed results */
#requestDetailedResults {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#requestDetailedResults:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#requestDetailedResults i {
    margin-right: 8px;
}

/* Modal styling */
#emailModal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

#emailModal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom: none;
}

#emailModal .modal-title {
    font-weight: 600;
}

#emailModal .close {
    color: white;
    opacity: 1;
    text-shadow: none;
}

#emailModal .modal-body {
    padding: 30px;
}

#emailModal .modal-body ul {
    list-style: none;
    padding-left: 0;
}

#emailModal .modal-body ul li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}

#emailModal .modal-body ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 18px;
}

#emailModal .form-control {
    border-radius: 6px;
    border: 2px solid #e0e0e0;
    padding: 12px 15px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

#emailModal .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

#emailModal .invalid-feedback {
    display: block;
    color: #dc3545;
    margin-top: 8px;
}

#emailModal .modal-footer {
    border-top: 1px solid #e0e0e0;
    padding: 20px 30px;
}

#submitEmail {
    padding: 10px 30px;
    font-weight: 600;
    border-radius: 6px;
}

#submitEmail:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success message in modal */
#emailModal .alert-success {
    border-radius: 8px;
    border: none;
    background-color: #d4edda;
    color: #155724;
    padding: 20px;
    text-align: center;
}

/* Result card improvements */
.result-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.result-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-weight: 700;
}

.progress {
    height: 30px;
    border-radius: 15px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 15px;
    transition: width 1s ease-in-out;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #requestDetailedResults {
        padding: 12px 30px;
        font-size: 16px;
    }

    #emailModal .modal-body {
        padding: 20px;
    }

    .result-card {
        padding: 20px;
    }
}

/* Animation for modal */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#emailModal.show .modal-dialog {
    animation: modalFadeIn 0.3s ease-out;
}
