﻿.step-content-card {
    background-color: white;
    border-radius: .5rem;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06);
    border: 1px solid #e5e7eb
}

.step-content-body {
    padding: 2rem
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    gap: .75rem
}

    .step-title i {
        font-size: 1.5rem
    }

.step-subtitle-block {
    font-size: .875rem;
    color: #6b7280;
    margin: 0 0 1.5rem 0
}

.section-block {
    margin-bottom: 2.5rem
}

.section-label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: .75rem
}

.add-contact-form {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: .75rem;
    margin-bottom: .75rem
}

.add-contact-action {
    display: flex;
    align-items: center;
    gap: 1rem
}

.warning-box {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1rem;
    background-color: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: .375rem;
    color: #92400e;
    font-size: .875rem;
    margin-bottom: 1rem
}

    .warning-box i {
        font-size: 1rem;
        color: #d97706
    }

.recipients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 1rem
}

.contact-card {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    transition: opacity 0.2s ease-in-out;
}

    .contact-card.inactive {
        opacity: 0.6;
        background-color: #f3f4f6;
    }

.contact-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    font-weight: 600;
    color: #111827;
}

.contact-name-status {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.contact-name {
    flex-grow: 1;
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.btn-action {
    background: 0 0;
    border: none;
    cursor: pointer;
    color: #6b7280;
    padding: .5rem;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
}

    .btn-action:hover {
        background-color: #e5e7eb;
        color: #111827;
    }

    .btn-action.delete:hover {
        background-color: #fee2e2;
        color: #b91c1c;
    }

    .btn-action.save {
        font-size: 0.8rem;
        border-radius: 0.375rem;
        width: auto;
        height: auto;
        gap: 0.25rem;
        background-color: #d1fae5;
        color: #065f46;
    }

        .btn-action.save:hover {
            background-color: #a7f3d0;
        }

        .btn-action.save:disabled {
            background-color: #f3f4f6;
            color: #9ca3af;
            cursor: not-allowed;
        }

    .btn-action.cancel {
        font-size: 0.8rem;
        border-radius: 0.375rem;
        width: auto;
        height: auto;
        gap: 0.25rem;
        background-color: #f3f4f6;
        color: #4b5563;
    }

        .btn-action.cancel:hover {
            background-color: #e5e7eb;
        }

.contact-details {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.contact-edit-form {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: .75rem;
}

.contact-info-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .375rem .75rem;
    border-radius: 9999px;
    font-size: .8125rem;
    font-weight: 500;
    width: -moz-fit-content;
    width: fit-content
}

    .contact-info-pill.email {
        background-color: #dbeafe;
        color: #1e40af
    }

    .contact-info-pill.sms {
        background-color: #d1fae5;
        color: #065f46
    }

.form-control-modern {
    display: block;
    flex: 1;
    padding: .625rem 1rem;
    font-size: .875rem;
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: .375rem;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
    transition: all .15s ease-in-out
}

    .form-control-modern:focus {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59,130,246,.1)
    }

.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .625rem 1rem;
    font-size: .875rem;
    font-weight: 600;
    border-radius: .375rem;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
    transition: all .15s ease-in-out;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap
}

    .btn-modern:disabled {
        opacity: .5;
        cursor: not-allowed
    }

.btn-modern-primary {
    background-color: #2563eb;
    color: white
}

    .btn-modern-primary:hover:not(:disabled) {
        background-color: #1d4ed8
    }

.form-help-text {
    display: block;
    font-size: .8125rem;
    color: #6b7280
}

.summary-box {
    padding: 1rem;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: .375rem;
    display: flex;
    gap: .75rem;
    align-items: flex-start
}

    .summary-box i {
        color: #2563eb;
        font-size: 1.25rem;
        flex-shrink: 0;
        margin-top: .125rem
    }

.summary-content {
    font-size: .875rem;
    color: #1e40af;
    line-height: 1.5
}
/* Toggle Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2563eb;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2563eb;
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }
