/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: rgb(247, 184, 102);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Donation Section Container */
.donate-pikup {
    
    max-width: 1400px; /* Increased container width */
    padding: 10px; /* Increased padding */
    margin-top: 5.5rem;
    margin-bottom: 5rem;
    background: #fff;
    border-radius: 12px; /* Slightly larger border radius for rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Larger shadow for more emphasis */
}

/* Image Section */
.donate-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #fff;
}

.donate-img img {
    max-width: 100%;
    border-radius: 10px;
}

/* Form Container */
.main-donate {
    flex: 2;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Heading and Paragraph */
h3 {
    text-align: center;
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

p {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

/* Form Grid Layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

/* Form Outer Styling */
.form-outer {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-outer.full-width {
    grid-column: span 2;
}

/* Label Styling */
label {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
}

#dot {
    color: red;
}

/* Input, Textarea, and Select Styling */
input[type="text"],
input[type="email"],
input[type="file"],
input[type="datetime"],
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="file"]:focus,
input[type="datetime"]:focus,
textarea:focus,
select:focus {
    border-color: #EA7B26;
    box-shadow: 0 0 5px rgba(60, 141, 188, 0.3);
}

textarea {
    resize: vertical;
    min-height: 70px;
}

/* Date and Time Input Container */
.date-time-container {
    display: flex;
    gap: 10px;
}

input[type="date"],
input[type="time"] {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
}

/* Dropdown Styling */
select {
    cursor: pointer;
    appearance: none;
    background-color: #fff;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="10" viewBox="0 0 14 10"><path fill="%233c8dbc" d="M7 10l7-7H0z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 35px;
}

/* Submit Button Styling */
input[type="submit"] {
    background-color: #EA7B26;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h3 {
        font-size: 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-outer.full-width {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .donate-pikup {
        flex-direction: column; /* Stack image on top of the form */
    }

    .main-donate {
        padding: 20px;
    }

    h3 {
        font-size: 22px;
    }

    p {
        font-size: 13px;
    }

    .date-time-container {
        flex-direction: column;
        gap: 15px;
    }

    input[type="date"],
    input[type="time"] {
        padding: 10px;
        font-size: 14px;
    }

    input[type="text"],
    input[type="email"],
    input[type="file"],
    input[type="datetime"],
    textarea,
    select {
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .donate-pikup{
        padding: 2px;
    }
    .main-donate {
        padding: 15px;
        margin: 80px 15px;
    }

    h3 {
        font-size: 20px;
    }

    p {
        font-size: 12px;
    }

    input[type="text"],
    input[type="email"],
    input[type="file"],
    input[type="datetime"],
    textarea,
    select {
        padding: 10px;
        font-size: 12px;
    }

    input[type="submit"] {
        font-size: 14px;
        padding: 10px;
    }
}

#res {
    color: #4CAF50;
    font-size: 15px;
}

/* Image and Recipient Info Section */
#don-image {
    margin-bottom: 20px; /* Increased bottom margin for better spacing */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}



/* Recipient Info Section */
#recipient-info {
    padding: 35px; /* Increased padding for a more spacious feel */
    border: 1px solid #e0e0e0;
    border-radius: 15px; /* Increased border radius for smoother edges */
    background: linear-gradient(135deg, #f9f9f9, #f0f0f0); /* Soft gradient background for visual depth */
    font-size: 1.1rem; /* Slightly adjusted font size */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Added shadow for elevated card effect */
    text-align: left;
    max-width: 800px; /* Restrict width for better readability */
    margin: 0 auto; /* Centering the recipient info */
}

/* Heading Style */
#recipient-info h3 {
    font-size: 1.8rem; /* Increased font size for prominence */
    color: #333;
    margin-bottom: 20px;
    font-weight: 600; /* Bolder heading */
    text-align: center;
    position: relative;
}

#recipient-info h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #EA7B26;
    margin: 10px auto 0; /* Centered underline below the heading */
}

/* Paragraph Styling */
#recipient-info p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7; /* Increased line-height for better readability */
    text-align: center;
}

/* Ordered List Styling */
#recipient-info ol {
    padding-left: 20px;
    color: #333;
    font-size: 1rem;
    list-style-type: none;
}

#recipient-info ol li {
    margin-bottom: 10px;
    padding-left: 10px;
    position: relative;
    line-height: 1.6;
    font-weight: 500;
    
}

/* Custom List Bullet Style */
#recipient-info ol li::before {
    content: '\2022'; /* Unicode bullet */
    color: #EA7B26; /* Custom bullet color */
    font-size: 1.2rem;
    position: absolute;
    left: -20px;
    top: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #recipient-info {
        padding: 25px;
    }

    #recipient-info h3 {
        font-size: 1.6rem;
    }

    #recipient-info p,
    #recipient-info ol li {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    #recipient-info {
        padding: 20px;
    }

    #recipient-info h3 {
        font-size: 1.5rem;
    }

    #recipient-info p,
    #recipient-info ol li {
        font-size: 0.9rem;
    }
}
