/* Recipient Module - Premium Design System */

.section-wrap {
    max-width: 1200px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: revealIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.section-title-block {
    padding-left: 0.5rem;
}

.section-title-block h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #4a3452;
    letter-spacing: -0.5px;
}

.section-title-block p {
    color: #8c7895;
    font-size: 1rem;
    font-weight: 500;
}

/* Dashboard Cards */
.active-requests-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #fff;
    border: 1px solid #ead7e8;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(73, 20, 52, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.active-requests-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(73, 20, 52, 0.08);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #fdf7fb;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #ad246d;
    font-size: 1.8rem;
    border: 1px solid #f2ebf4;
}

.card-content h3 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ad246d;
    margin-bottom: 0.25rem;
}

.card-content p {
    font-size: 1.8rem;
    font-weight: 900;
    color: #2d2333;
    margin: 0;
}

/* Referral Box */
.referral-box {
    background: #fff;
    border: 1px solid #ead7e8;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(73, 20, 52, 0.04);
}

.referral-box label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ad246d;
    margin-bottom: 0.75rem;
}

/* Layout Container for Dashboard */
.guidelines-actions-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
}

/* Guidelines Box */
.guidelines-box {
    background: #fff;
    border: 1px solid #ead7e8;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(73, 20, 52, 0.04);
}

.guidelines-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    color: #ad246d;
}

.guidelines-head h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
}

.guidelines-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.guideline-item {
    display: flex;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #f2f2f2;
}

.guideline-item .dot {
    color: #ad246d;
    font-weight: 900;
}

.guideline-item span {
    color: #5d4d62;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Action Buttons Grid */
.recipient-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Request Form */
.request-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-section {
    background: #fff;
    border: 1px solid #ead7e8;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(73, 20, 52, 0.04);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f2ebf4;
    margin-bottom: 1.5rem;
}

.section-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #2d2333;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-input-premium {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #ead7e8;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a3452;
    background: #fff;
    transition: all 0.2s ease;
}

.form-input-premium:focus {
    border-color: #ad246d;
    outline: none;
    box-shadow: 0 0 0 4px rgba(173, 36, 109, 0.05);
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ad246d;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #ead7e8;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a3452;
    background: #fff;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ad246d;
    box-shadow: 0 0 0 4px rgba(173, 36, 109, 0.05);
}

.form-group input:read-only {
    background: #fafafa;
    border-color: #f2ebf4;
    cursor: not-allowed;
    color: #8c7895;
}

/* Detail View Premium Components */
.summary-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.summary-item-premium {
    background: #fff;
    border: 1px solid #ead7e8;
    border-radius: 20px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 20px rgba(73, 20, 52, 0.03);
}

.summary-item-premium .icon-badge {
    width: 48px;
    height: 48px;
    background: #fdf7fb;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #ad246d;
    font-size: 1.4rem;
    border: 1px solid #f2ebf4;
}

.summary-item-premium .meta label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #8c7895;
    margin-bottom: 0.2rem;
}

.summary-item-premium strong {
    font-size: 1rem;
    font-weight: 800;
    color: #2d2333;
}

.detail-layout-premium {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    align-items: start;
}

.section-header-compact {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    color: #ad246d;
}

.section-header-compact h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #2d2333;
    margin: 0;
}

/* Timeline Components */
.timeline-section-premium {
    background: #fff;
    border: 1px solid #ead7e8;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(73, 20, 52, 0.04);
}

.timeline-step {
    border-left: 2px solid #f2ebf4;
    padding-left: 1.5rem;
    padding-bottom: 2rem;
    position: relative;
}

.timeline-step:last-child {
    padding-bottom: 0;
    border-left: none;
}

.timeline-step .step-dot {
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    background: #ad246d;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 4px #fdf7fb;
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.step-header strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ad246d;
}

.step-header time {
    font-size: 0.75rem;
    font-weight: 600;
    color: #8c7895;
}

.step-content {
    background: #fdf7fb;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #f2ebf4;
    font-size: 0.9rem;
    color: #4d3f56;
    line-height: 1.5;
}

/* Sidebar Info Cards */
.info-sidebar-premium {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card-premium {
    background: #fff;
    border: 1px solid #ead7e8;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(73, 20, 52, 0.04);
}

.info-list-premium {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-row label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #8c7895;
}

.info-row span {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2d2333;
}

.info-row p {
    font-size: 0.85rem;
    color: #5d4d62;
    font-style: italic;
    line-height: 1.4;
    margin: 0;
}

/* Attachments Grid */
.attachments-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.75rem;
}

.attachment-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
}

.attachment-item a {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    border: 1px solid #ead7e8;
    overflow: hidden;
    background: #fdf7fb;
    display: block;
}

.attachment-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attachment-item span {
    font-size: 0.65rem;
    font-weight: 800;
    color: #8c7895;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.file-icon-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: #ad246d;
}

.help-text {
    font-size: 0.8rem;
    color: #8c7895;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.help-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1rem 0;
}

.help-list li {
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.85rem;
    color: #5d4d62;
    margin-bottom: 0.25rem;
}

.help-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ad246d;
    font-weight: 900;
}

/* File Upload */
.file-upload {
    margin-top: 0.5rem;
}

.file-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #fdf7fb;
    border: 2px dashed #ead7e8;
    border-radius: 12px;
    color: #ad246d;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-label:hover {
    background: #fff;
    border-color: #ad246d;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #fafafa;
    border: 1px solid #f2f2f2;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.file-item button {
    background: none;
    border: none;
    color: #ad246d;
    font-weight: 800;
    cursor: pointer;
    text-decoration: underline;
}

/* Button Overrides */
.soft-btn {
    background: linear-gradient(135deg, #ad246d, #cf2f84);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px rgba(173, 36, 109, 0.15);
}

.soft-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(173, 36, 109, 0.2);
}

.ghost-btn {
    background: #fff;
    border: 2px solid #ead7e8;
    color: #4a3452;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    min-height: 100px;
}

.ghost-btn:hover {
    background: #fdf7fb;
    border-color: #ad246d;
    color: #ad246d;
}

/* Tracking Table */
.tracking-table-wrap {
    background: #fff;
    border: 1px solid #ead7e8;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(73, 20, 52, 0.04);
}

.tracking-table {
    width: 100%;
    border-collapse: collapse;
}

.tracking-table th {
    background: #fdf7fb;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ad246d;
    border-bottom: 1px solid #f2ebf4;
}

.tracking-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f2ebf4;
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a3452;
}

.status-pill {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 1000px) {
    .guidelines-actions-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .detail-layout-premium {
        grid-template-columns: 1fr;
    }

    .recipient-actions {
        grid-template-columns: 1fr;
    }

    .section-wrap {
        padding-inline: 0;
    }

    .form-section {
        padding: 1.25rem;
    }

    .guidelines-box {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .section-title-block h1 {
        font-size: 1.6rem;
    }

    .tracking-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tracking-table {
        min-width: 500px;
    }
}
