/*
|--------------------------------------------------------------------------
| Card
|--------------------------------------------------------------------------
*/

.phc-card {

    background: var(--phc-card-bg);

    border-radius: var(--phc-radius);

    box-shadow: var(--phc-shadow);

    padding: 24px;

}

/*
|--------------------------------------------------------------------------
| Buttons
|--------------------------------------------------------------------------
*/

.phc-btn {

    border: none;

    border-radius: var(--phc-radius);

    padding: 14px 20px;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.2s ease;

}

.phc-btn-primary {

    background: var(--phc-primary);

    color: #fff;

}

.phc-btn-primary:hover {

    background: var(--phc-primary-dark);

}

/*
|--------------------------------------------------------------------------
| Inputs
|--------------------------------------------------------------------------
*/

.phc-input {

    width: 100%;

    padding: 14px 16px;

    border: 1px solid var(--phc-border);

    border-radius: var(--phc-radius);

    font-size: 15px;

    outline: none;

    transition: 0.2s ease;

}

.phc-input:focus {

    border-color: var(--phc-primary);

}

/*
|--------------------------------------------------------------------------
| Labels
|--------------------------------------------------------------------------
*/

.phc-label {

    display: block;

    margin-bottom: 8px;

    font-size: 14px;

    font-weight: 600;

}

/*
|--------------------------------------------------------------------------
| Messages
|--------------------------------------------------------------------------
*/

.phc-success-message {

    background: #DCFCE7;

    color: #166534;

    padding: 14px 16px;

    border-radius: var(--phc-radius);

    margin-bottom: 16px;

}

.phc-error-message {

    background: #FEE2E2;

    color: #991B1B;

    padding: 14px 16px;

    border-radius: var(--phc-radius);

    margin-bottom: 16px;

}




/*
|--------------------------------------------------------------------------
| PHC Modal
|--------------------------------------------------------------------------
*/

.phc-modal-overlay {

    position: fixed;

    inset: 0;

    background: rgba(15, 23, 42, 0.55);

    display: none;

    align-items: center;

    justify-content: center;

    z-index: 999999;

    padding: 20px;

}



/*
|--------------------------------------------------------------------------
| Modal Box
|--------------------------------------------------------------------------
*/

.phc-modal-box {

    width: 100%;

    max-width: 420px;

    background: #FFFFFF;

    border-radius: 24px;

    padding: 32px 28px;

    text-align: center;

    animation: phcModalShow 0.2s ease;

}

/*
|--------------------------------------------------------------------------
| Animation
|--------------------------------------------------------------------------
*/

@keyframes phcModalShow {

    from {

        opacity: 0;

        transform: translateY(12px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

/*
|--------------------------------------------------------------------------
| Icon
|--------------------------------------------------------------------------
*/

.phc-modal-icon {

    width: 72px;

    height: 72px;

    border-radius: 50%;

    background: #ECFDF5;

    color: #059669;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 36px;

    font-weight: 800;

    margin: 0 auto 18px;

}

/*
|--------------------------------------------------------------------------
| Title
|--------------------------------------------------------------------------
*/

.phc-modal-title {

    margin: 0 0 10px;

    font-size: 28px;

    font-weight: 800;

    color: #0F172A;

}

/*
|--------------------------------------------------------------------------
| Message
|--------------------------------------------------------------------------
*/

.phc-modal-message {

    margin: 0;

    font-size: 15px;

    line-height: 1.7;

    color: #64748B;

}

/*
|--------------------------------------------------------------------------
| Order Number
|--------------------------------------------------------------------------
*/

.phc-modal-order {

    margin-top: 18px;

    font-size: 15px;

    font-weight: 700;

    color: #00A887;

}

/*
|--------------------------------------------------------------------------
| Actions
|--------------------------------------------------------------------------
*/

.phc-modal-actions {

    display: flex;

    gap: 12px;

    margin-top: 28px;

}

/*
|--------------------------------------------------------------------------
| Buttons
|--------------------------------------------------------------------------
*/

.phc-modal-btn {

    flex: 1;

    height: 50px;

    border-radius: 14px;

    border: none;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.2s ease;

}

.phc-modal-btn.primary {

    background: #00A887;

    color: #FFFFFF;

}

.phc-modal-btn.primary:hover {

    background: #009276;

}

.phc-modal-btn.secondary {

    background: #F1F5F9;

    color: #0F172A;

}

.phc-modal-btn.secondary:hover {

    background: #E2E8F0;

}

/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {

    .phc-modal-box {

        padding: 28px 22px;

        border-radius: 20px;

    }

    .phc-modal-title {

        font-size: 24px;

    }

}


/*
|--------------------------------------------------------------------------
| Success
|--------------------------------------------------------------------------
*/

.phc-modal-icon.success {

    background: #E7F8EF;

    color: #0CA678;

}

/*
|--------------------------------------------------------------------------
| Error
|--------------------------------------------------------------------------
*/

.phc-modal-icon.error {

    background: #FEECEC;

    color: #DC2626;

}

/*
|--------------------------------------------------------------------------
| Confirm
|--------------------------------------------------------------------------
*/

.phc-modal-icon.confirm {

    background: #FFF7E6;

    color: #F59E0B;

}