﻿
.modal {
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Modal Header */
.modal-header {
    background-color: #e5e5e5; /* Dark purple color */
    padding: 10px 20px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* color: white !important;  */
}

.c {
    --bs-text-opacity: 1;
    color: rgb(255 255 255) !important;
    font-size: 24px;
}

.modal-title {
    color: black;
    font-size: 1.1rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: black;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

/* Modal Body */
.modal-body {
    padding: 20px;
}

/* Form Fields */
.form-group {
    margin-bottom: 5px;
}


.modal-sm {
    --bs-modal-width: 360px;
}

.btn-cancel {
    background-color: #fff;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

    .btn-cancel:hover {
        background-color: #e74c3c;
        color: #fff;
    }

.btn-submit {
    background-color: #564d8d;
    color: #fff;
    border: 2px solid #564d8d;
}

    .btn-submit:hover {
        background-color: #685fa3;
        color: #fff;
        border-color: #685fa3;
    }

.modal-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.btn-phoenix-secondary .fa-times {
    color: black;
}

/* Custom Variables for consistency */
:root {
    --primary-pink: #F81BCC;
    --soft-bg: #f8f9fa;
    --border-color: #dee2e6;
    --text-muted: #6c757d;
}

/* Modal Header Styling */
.modal-header-custom {
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e5e5e5;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom: 1px solid var(--border-color);
    /* border-radius :10px; */
}



.modal-title-custom {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

/* Info Banner Section */
.fund-info-banner {
    background-color: var(--soft-bg);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px inset #eee;
}

.info-box label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.info-box span {
    font-weight: 700;
    font-size: 15px;
    color: #222;
}

.amount-highlight {
    color: #28a745 !important; /* Success Green */
}

/* Form Elements */
.custom-label {
    font-weight: 500;
    font-size: 13px;
    color: #444;
    margin-bottom: 6px;
}

.custom-input {
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 10px;
    transition: all 0.2s ease;
}

    .custom-input:focus {
        border-color: var(--primary-pink);
        box-shadow: 0 0 0 3px rgba(248, 27, 204, 0.1);
    }

/* Action Buttons */
.btn-save-custom {
    background-color: var(--primary-pink);
    color: white;
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 6px;
    transition: 0.3s;
}

    .btn-save-custom:hover {
        background-color: #d616af;
        color: white;
        transform: translateY(-1px);
    }

.btn-cancel-custom {
    background-color: #e9ecef;
    color: #495057;
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 6px;
}

.attachment-btn {
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-close-custom {
    background-color: #ffffff; /* White background */
    border: 1.5px solid #43454a; /* Light gray border */
    border-radius: 50%; /* Perfect circle */
    padding: 10px;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 10px; /* Icon size chota rakhne ke liye */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

    .btn-close-custom:hover {
        background-color: #f8f9fa; /* Light gray on hover */
        border-color: var(--primary-pink); /* Border color change on hover */
        opacity: 1;
        transform: rotate(90deg); /* Modern rotation effect */
    }

    .btn-close-custom:focus {
        box-shadow: 0 0 0 0.25rem rgba(248, 27, 204, 0.15); /* Pinkish glow on focus */
        outline: none;
    }


.custom-input {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 12px;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
    width: 100%;
}

    .custom-input:focus {
        border-color: #F81BCC; /* Pink border on focus */
        box-shadow: 0 0 0 3px rgba(248, 27, 204, 0.1);
        outline: none;
    }


