/* Styles for issue.html */

.hero::before {
    display: none; /* Remove the dotted line pattern from the hero section on this page */
}

.hero {
    border-left: 1px dashed rgba(255, 255, 255, 0.2); /* Make left border dashed */
    border-right: 1px dashed rgba(255, 255, 255, 0.2); /* Make right border dashed */
    padding-bottom: 2rem; /* Reduced bottom padding */
    padding-top: 0rem; /* Significantly reduced top padding */
}

.hero-content {
    padding-top: 0.5rem; /* Reduced top padding for hero content */
}

.hero-title,
.hero-subtitle {
    text-align: center; /* Center align the main title and subtitle */
}

.issue-form-container {
    background-color: #141414; /* Darkened background further */
    padding: 2.5rem 3rem 2.5rem; /* Increased top padding */
    border-radius: 8px;
    border: 1px solid #404040; /* Added border */
    width: 70%; /* Fill parent width */
    max-width: 900px; /* Adjusted max-width for a wider form */
    margin: 0rem auto 0 auto; /* Reduced top margin and centered */
    text-align: left;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.issue-form-container .form-title-main {
    font-size: 1.4rem; /* Increased font size */
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem; /* Reduced space before the first form group */
    padding-bottom: 1rem; /* Optional: if you want a line or more space */
    /* border-bottom: 1px solid #404040; */ /* Optional: for a separator line */
    text-align: center; /* Center the form title */
}

.issue-form-container .form-group {
    margin-bottom: 1.75rem; /* Slightly increased margin */
}

.issue-form-container label {
    display: block;
    color: #e0e0e0;
    margin-bottom: 0.6rem; /* Slightly increased margin */
    font-size: 0.95rem; /* Increased font size */
    font-weight: 500;
}

.issue-form-container input[type="text"],
.issue-form-container input[type="email"],
.issue-form-container textarea {
    width: 100%;
    padding: 0.55rem 0.9rem; /* Further reduced padding */
    background-color: #242424; /* Further darkened input background */
    border: 1px solid #404040;
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.95rem; /* Further reduced font size */
    box-sizing: border-box;
    resize: vertical; /* Prevent horizontal resizing */
}

.issue-form-container input[type="text"]::placeholder,
.issue-form-container input[type="email"]::placeholder,
.issue-form-container textarea::placeholder {
    color: #888888;
}

.issue-form-container input[type="text"]:focus,
.issue-form-container input[type="email"]:focus,
.issue-form-container textarea:focus {
    outline: none;
    border-color: #bbbbbb; /* Much lighter border color for focus */
    box-shadow: none; /* Removed box-shadow */
}

.issue-form-container .char-limit {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: #888888;
    margin-top: 0.25rem;
}

.issue-form-container .attachments-info {
    font-size: 0.9rem;
    color: #bbbbbb;
    margin-bottom: 0.75rem;
}

.issue-form-container .attachment-upload-area {
    border: none; /* Removed border */
    border-radius: 0; /* Removed border-radius */
    padding: 0; /* Removed padding */
    /* text-align: left; --- This property is not strictly necessary here as flexbox handles alignment */
    /* cursor: pointer; */ /* Removed cursor pointer from the whole area */
    background-color: transparent; /* Set background to transparent */
    display: flex;
    align-items: center;
}

.issue-form-container .file-input-hidden {
    display: none;
}

.issue-form-container .attachment-upload-button {
    color: #bbbbbb;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.issue-form-container .attachment-upload-button i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px; /* Box size unchanged */
    height: 40px; /* Box size unchanged */
    margin-right: 0.8rem;
    border: 1px solid #404040;
    border-radius: 4px;
    background-color: #1a1a1a;
    color: #bbbbbb;
    font-size: 0.9rem; /* Icon made smaller */
    font-weight: normal; /* Icon thickness unchanged */
    cursor: pointer; /* Added cursor pointer to the icon button only */
}

.issue-form-container .attachment-upload-area:hover {
    border-color: #505050;
}

.issue-form-container .attachment-upload-area:hover .attachment-upload-button i {
    border-color: #505050;
    background-color: #2a2a2a;
}

.issue-form-container .btn-submit-request {
    background-color: #136A9F; /* Blue from your existing buttons */
    color: white;
    border: 1px solid #7ACEFF;
    padding: 0.75rem 3rem; /* Further increased horizontal padding */
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    display: block;
    width: auto; /* Changed from 100% to auto */
    margin: 2rem auto 0; /* Adjusted for centering, preserves top margin */
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.issue-form-container .btn-submit-request:hover {
    background-color: #1E88C9;
}

.issue-form-container .form-submit-info {
    text-align: center;
    color: #bbbbbb;
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* Styles for image previews */
.image-previews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.img-preview-wrapper {
    position: relative;
    border: 1px solid #404040;
    border-radius: 4px;
    padding: 5px;
    background-color: #242424;
}

.img-preview {
    max-width: 100px;
    max-height: 100px;
    display: block;
    border-radius: 2px;
}

.remove-img-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #d9534f; /* A common red color for delete buttons */
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 18px; /* Adjust for vertical centering of 'x' */
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.remove-img-btn:hover {
    background-color: #c9302c; /* Darker red on hover */
}

/* Footer styling to match home page */
.footer-column ul li a {
    font-size: 0.9rem;
}

.footer-copyright-bottom p {
    font-size: 0.75rem;
}

.footer-contact-email {
    margin-top: 1rem;
}

.footer-contact-email a {
    color: #84878d;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-email a:hover {
    color: #ffffff;
}

/* remove this if it is not needed anymore
.issue-submission-section {
    padding: 4rem 2rem;
    background-color: #0A0A0A; 
    color: #ffffff;
}

.issue-submission-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(20, 20, 22, 0.85); 
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.issue-submission-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.issue-submission-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
    color: #bbbbbb;
}

#issue-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #e0e0e0;
}

#issue-form input[type="text"],
#issue-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    background-color: rgba(30, 30, 32, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #ffffff;
    font-size: 1rem;
}

#issue-form input[type="text"]:focus,
#issue-form textarea:focus {
    outline: none;
    border-color: #7ACEFF; 
    box-shadow: 0 0 0 0.2rem rgba(122, 206, 255, 0.25);
}

#issue-form button[type="submit"] {
    display: block;
    width: auto;
    margin: 1rem auto 0 auto;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    
}
*/ 