/* ------------------- START Common CSS for all Forms ----------------------------- */

.logborder{
    border: 1px solid #000;
    padding: 20px;
    box-shadow: 0px 6px 10px rgb(0, 0, 0);
    border-radius: 10px;
}
fieldset {
    position: relative;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
}
legend {
    font-size: 14px;
    padding: 0 5px;
    background: white;
    position: absolute;
    top: -10px;
    left: 10px;
    transition: all 0.2s ease-in-out;
    color: #aaa;
}
.form-control:focus + legend,
.form-control:not(:placeholder-shown) + legend {
    font-size: 12px;
    top: -20px;
    color: #010162;
}

.form-check {
    margin-top: 1rem;
    padding: 0 0 0px 40px;
}

.form-check-label {
    margin-left: 5px;
    font-size: 16px;
}


.form-control1 {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    appearance: none; /* Remove default browser styling */
    background: white url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path d="M0 3l5 5 5-5H0z" fill="%23777777"/></svg>') no-repeat right 10px center;
    background-size: 12px;
}

.form-control1:focus {
    border-color: #007bff;
    outline: none;
}

.document-list {
    list-style-type: none;
    padding: 0;
}

.document-list li {
    margin-bottom: 5px;
}

.radios{
    display: flex;
}

@media screen and (min-width: 320px) and (max-width: 768px) {
.radios{
    display: block;
}
.document-list {
    list-style-type: none;
    padding: 10px;
} }


.container-xl {
    padding-top: 20px;
}


/* ------------------- END Common CSS for all Forms ----------------------------- */

/* Dashboard Box Styles */
.small-box {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.small-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.small-box .inner {
    padding: 20px;
    color: #fff;
}

.small-box-footer {
    display: block;
    background: rgba(0, 0, 0, 0.1);
    padding: 10px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.bg-info {
    background-color: #17a2b8 !important;
}

.bg-warning {
    background-color: #f39c12 !important;
}

.bg-success {
    background-color: #28a745 !important;
}

.bg-primary {
    background-color: #17a2b8 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

/* Form Section Styles */
form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

form h4 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

form .form-group {
    margin-bottom: 20px;
}

form label {
    font-size: 16px;
    color: #555;
}

form .form-check-label {
    font-size: 16px;
    color: #555;
}

form .form-check-input {
    margin-right: 10px;
}

.col-md-4 {
    flex: 1 1 30%;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .col-md-4 {
        flex: 1 1 100%;
    }
}


/* EVENT */
/* Event List Section */
#event-list {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

#event-list h4 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.event-list-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-item {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.event-item h5 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.event-item p {
    font-size: 16px;
    color: #555;
    margin-bottom: 5px;
}

.event-item .btn {
    background-color: #17a2b8;
    color: #fff;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.event-item .btn:hover {
    background-color: #17a2b8;
}

.event-item .btn:active {
    background-color: #17a2b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    #event-list {
        padding: 20px;
    }
    .event-item {
        padding: 15px;
    }
}


/* Announcement */
/* Announcement Section */
#announcement {
    background-color: #f9f9f9;
    padding: 0px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

#announcement h4 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.announcement-item {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.announcement-item h5 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.announcement-item p {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.announcement-item .btn {
    background-color: #17a2b8;
    color: #fff;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.announcement-item .btn:hover {
    background-color: #17a2b8;
}

.announcement-item .btn:active {
    background-color: #17a2b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    #announcement {
        padding: 20px;
    }
    .announcement-item {
        padding: 15px;
    }
}


/**** Donation CSS ****/

.donation_table table {
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.donation_table th {
    background-color: #f74f22;
    color: white;
    text-align: center;
}

.donation_table td {
    text-align: center;
    padding: 12px;
    font-size: 16px;
}

.donation_table tr:nth-child(even) {
    background-color: #f9f9f9;
    text-align: center;
}

.donation_table tr:hover {
    background-color: #f1f1f1;
}