.mmz-project-details .project-title-container {
    background: #0249bc;
    padding: 0.5rem 2rem;
    margin-bottom: 1rem;
    top: 0;
    position: sticky;
}

.mmz-project-details .project-title {
    color: #ffffff;
}

.mmz-project-details .content {
    display: flex;
}

.mmz-project-details .booking-section {
    background-color: rgb(244, 244, 244);
    padding: 1rem 3rem 1rem;
    width: 35%;
}

.mmz-project-details .info-section {
    padding: 0 3rem 0 0;
    width: 65%;
}

.mmz-project-details .short-info section {
    border-style: solid;
    border-color: #D5D5D5;
    border-width: 1px 0px;
    display: flex;
    align-items: center;
    max-width: 1140px;
}

.mmz-project-details .informations {
    padding: 1rem 0rem;
}

.mmz-project-details .description {
    padding: 1rem 0rem;
}

.mmz-project-details .short-info section h5 {
    width: 30%;
}

.mmz-project-details .short-info section .data {
    width: 70%;
}

.mmz-project-details .short-info .dates-occasion {
    padding: 0.25rem 0rem;
}

.mmz-project-details .short-info .occasion {
    font-weight: 500;
}

.mmz-project-details .short-info .place {
    font-style: italic;
}

.mmz-project-details .booking-section .occupation .total {
    font-weight: 700;
}

.mmz-project-details .payment-options {
    padding-top: 1rem;
    border-style: solid;
    border-color: #434343;
    border-width: 1px 0px 0px 0px;
}

.mmz-project-details .payment-options .special-case p {
    font-weight: 600;
    border-left: 5px solid var(--mmz-blue-main);
    background-color: #ffffff;
    padding: 1rem;
}

.mmz-project-details .payment-options .special-case .links {
    display: flex;
    justify-content: space-between;
}

.mmz-project-details .payment-options .special-case .links a {
    text-decoration: none;
    background: var(--mmz-blue-main);
    color: #ffffff;
    font-weight: 600;
    border-radius: 6px;
    padding: 0.3rem;
}

.mmz-project-details .payment-options .special-case .links a:hover {
    background:  var(--mmz-label);
}

.mmz-project-details .prices {
    font-weight: 700;
    margin-bottom: 1rem;
}

.mmz-project-details .booking-info {
    padding-bottom: 1rem;
}

.mmz-project-details .booking-info ul {
    margin: 0 0 1.41575em 20px;
}

.mmz-project-details .booking-section form {
    padding-top: 0.25rem;
}

/* Form Group & Input Styles */
.mmz-project-details .input-wrapper-select {
    position: relative;
    display: flex;
    flex-direction: column;
}

.mmz-project-details .input-wrapper-select select {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 12px 16px;
    color: #1a202c;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.2s ease;
    width: 100%;
    outline: none;
}

.mmz-project-details .input-wrapper-select select:focus {
    border-color: #0249bc;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.mmz-project-details .input-wrapper-select label {
    position: absolute;
    transform: translateY(-10px) scale(0.85);
    color: #0249bc;
    background: rgb(244, 244, 244);
    padding: 0 4px;
    font-weight: 500;
}

.mmz-project-details .input-wrapper-select select:invalid,
select option[value=""] {
  color: #718096;
}

/* Form Group & Input Styles */
.mmz-project-details .form-group {
    margin-top: 1rem;
    position: relative;
}

.mmz-project-details .input-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

.mmz-project-details .input-wrapper input {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 12px 16px;
    color: #1a202c;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.2s ease;
    width: 100%;
    outline: none;
}

.mmz-project-details .input-wrapper input:focus {
    border-color: #0249bc;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.mmz-project-details .input-wrapper label {
    position: absolute;
    transform: translateY(-10px) scale(0.85);
    color: #0249bc;
    background: rgb(244, 244, 244);
    padding: 0 4px;
    font-weight: 500;
}

/* Error States */
.mmz-project-details .mmz-form-error {
    color: #dc2626;
    font-size: 12px;
    font-weight: 500;
    margin-top: 6px;
    margin-left: 4px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    line-height: 1.5;
}

.mmz-project-details .mmz-form-error.show {
    opacity: 1;
    transform: translateY(0);
}

.mmz-project-details .form-group.error .input-wrapper input {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.mmz-project-details .form-group.error .input-wrapper-select select {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.mmz-project-details .form-group.error input {
    border: 1px solid #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Login Button */
.mmz-project-details .to-payment {
    width: 100%;
    background: #0249bc;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    margin-bottom: 24px;
}

.mmz-project-details .to-payment:hover {
    background: #0249bc;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}

.mmz-project-details .to-payment:active {
    transform: translateY(0);
}

/* Total*/
.mmz-project-details .total-container {
    display: flex;
}

.mmz-project-details .agreements .form-group {
    display: flex;
    align-items: baseline;
}

.mmz-project-details .agreements p {
    padding-left: 1rem;
    font-style: italic;
    margin-bottom: 0;
}

.mmz-project-details .agreements {
    padding-bottom: 1rem;
}

.mmz-project-details .payment-redirection {
    font-style: italic;
    font-weight: bolder;
}


/* Error and Success */
.mmz-details-success-error {
    justify-content: center;
    align-items: center;
}

.mmz-details-success-error .success-message {
    display: none;
}

.mmz-details-success-error .error-message {
    display: none;
}

.mmz-details-success-error .success-message.show {
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mmz-details-success-error .error-message.show {
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mmz-details-success-error .success-message h3 {
    color: #1a202c;
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.mmz-details-success-error .success-message p {
    color: #718096;
    font-size: 14px;
    padding: 1rem;
}

.mmz-details-success-error .error-message h3 {
    color: #2c1a1a;
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.mmz-details-success-error .error-message p {
    color: #967171;
    font-size: 14px;
    padding: 1rem;
}





/* Login Button */
.mmz-details-success-error .back-to-dashboard {
    background: #0249bc;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    margin-bottom: 24px;
    text-decoration: none;
}

.mmz-details-success-error .back-to-dashboard:hover {
    background: #0249bc;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
    color: white;
}

.mmz-details-success-error .back-to-dashboard:active {
    transform: translateY(0);
}

/* Loading State */
.mmz-details-success-error .back-to-dashboard.loading {
    pointer-events: none;
    background: #9ca3af;
}

.mmz-details-success-error .btn-text {
    transition: opacity 0.2s ease;
}

.mmz-details-success-error .btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    opacity: 0;
    animation: spin 1s linear infinite;
    transition: opacity 0.2s ease;
}

.mmz-details-success-error .back-to-dashboard.loading .btn-text {
    opacity: 0;
}

.mmz-details-success-error .back-to-dashboard .btn-loader {
    opacity: 1;
}



/* Payment comfirmation */
.mmz-payment-comfirmation-container {
    padding: 2rem 0 4rem 0;
}

.mmz-payment-comfirmation {
    font-weight: 600;
    color: var(--mmz-blue-main);
}

.mmz-project-details .scroll-to-payment {
    display: none;
}




@media (max-width: 600px) {
    .mmz-project-details .content {
        flex-direction: column;
    }

    .mmz-project-details .booking-section {
        width: 100%;
    }

    .mmz-project-details .info-section {
        padding: 0;
        width: 100%;
    }

    .mmz-project-details .short-info section {
        flex-direction: column;
    }

    .mmz-project-details .short-info section h5 {
        width: 100%;
    }

    .mmz-project-details .short-info section .data {
        width: 100%;
    }

    .mmz-project-details .scroll-to-payment {
        display: inline;
    }

    .mmz-project-details .links {
        flex-direction: column;
    }

    .mmz-project-details .links a {
        margin: 0.25rem 0;
    }
}