/* Panel layout */
.panel {
    width: 85%;
    height: 80%;
    background-color: var(--color-white);
    border-radius: 30px;
    position: absolute;
    top: 55%;
    left: 50%;
    display: flex;
    flex-direction: column; 
    padding-top: 50px;  
    align-items: center; 
    gap: 1rem;
    transform: translate(-50%, -50%);
    overflow-y: auto; 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
/* Heading styles */
.panel h1, .panel h2 {
    color: var(--color-green); 
    margin: 0;
    font-weight: var(--font-semi-bold);
    text-align: center;
}

/* h1 specific style */
.panel h1 {
    font-size: 2.5rem; 
    margin-top: 10px;
    margin-bottom: 3px;
}

/* h2 specific style */
.panel h2 {
    font-size: var(--h2-font-size);
    margin-bottom: 10px;
}

/* Form container styling */
.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    width: 100%;
}

/* Input and textarea styling */
.panel input,
.panel textarea {
    width: 80%;
    padding: 1rem;
    margin: 5px;
    border-radius: 5px;
    border: 1px solid var(--color-green);
    font-size: var(--normal-font-size); 
}

/* Textarea specific styling */
.panel textarea {
    width: 81%; 
    height: 120px;
}

/* Group inputs horizontally */
.input-group {
    display: flex;
    gap: 2px;
    width: 82%;
}

/* Button styling */
.panel .button {
    width: 30%;
    padding: 1rem; 
    background-color: var(--color-green); 
    color: var(--color-white);
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 10px;
    transition: box-shadow 0.4s; 
}

/* Button hover effect */
.panel .button:hover {
    box-shadow: 0 4px 24px var(--color-gray);
}

/* Social icons layout */
.panel .social-icons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    direction: ltr;
    margin-top: 5px;
    gap: 5px;
    margin-bottom: 10px;
}

/* Align icons vertically */
.panel .social-icons a {
    text-decoration: none;
    color: var(--color-green); 
    font-size: var(--normal-font-size); 
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px; 
}

/* Circle behind the icons */
.panel .social-icons .icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-green);
    width: 30px;
    height: 30px;
    border-radius: 50%; 
    flex-shrink: 0;
    align-self: center;
}

/* Social icons styling */
.panel .social-icons i {
    font-size: 1.5rem; 
    color: var(--color-white);
}

/* Hover effect for links */
.panel .social-icons a:hover {
    color: var(--color-gray); 
}

/* Submit button styling */
.submit-btn {
    width: 30%;
    padding: 1rem; 
    background-color: #25685D !important;
    color: var(--color-white);
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 15px;
    transition: box-shadow 0.4s;
}

/* Submit button hover effect */
.submit-btn:hover {
    box-shadow: 0 4px 24px var(--color-gray);
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {

    .panel h1 {
        font-size: 2rem;
    }

    .panel h2 {
        font-size: 1.5rem;
    }

    .panel input, .panel textarea {
        width: 90%; 
    }

    .input-group {
        width: 91% !important;
    }

    .panel .button, .submit-btn {
        width: 50%; 
    }

    .panel .social-icons a {
        font-size: 0.9rem;
    }

    .panel .social-icons i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .panel h1 {
        font-size: 1.5rem;
    }

    .panel h2 {
        font-size: 1.2rem;
    }

    .panel textarea {
        width: 95%;
    }

    .input-group {
        width: 97% !important;
    }

    .panel .button, .submit-btn {
        width: 60%;
    }

    .panel .social-icons a {
        font-size: 0.8rem;
    }

    .panel .social-icons i {
        font-size: 1rem;
    }
}
