/* Coding Font Setup */
body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 16px;
    line-height: 1.6;
}

/* Navbar */
nav {
    background-color: #121212 !important;
    border-bottom: 1px solid #2c2c2c;
}



nav a {
    color: #e0e0e0 !important;
    font-weight: bold;
    font-family: 'Fira Code', monospace;
}

nav a:hover {
    color: #6cff91 !important; /* brighter green */
    text-decoration: none;
}



/* Headings */
h1, h2, h3, h4, h5 {
    font-family: 'Fira Code', monospace;
    color: #ffffff;
    font-weight: bold;
}

/* Cards */
.card {
    background-color: #1c1c1c;
    color: #e0e0e0;
    font-family: 'Fira Code', monospace;
    border-radius: 12px;
    border: 1px solid #2e2e2e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.7);
}

/* Buttons */
.btn-primary {
    background-color: #2e8b57;
    border: none;
    color: #121212;
    font-weight: bold;
    font-family: 'Fira Code', monospace;
}

.btn-primary:hover {
    background-color: #26734a;
}

.btn-success {
    background-color: #388e3c;
    border: none;
    font-family: 'Fira Code', monospace;
    font-weight: bold;
}

.btn-success:hover {
    background-color: #2e7031;
}

/* Forms */
.form-control {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border: 1px solid #444;
    font-family: 'Fira Code', monospace;
}

.form-control:focus {
    background-color: #2a2a2a;
    color: #fff;
    border-color: #2e8b57;
    box-shadow: none;
}

/* Flash Messages */
.alert-danger {
    background-color: #e63946;
    font-family: 'Fira Code', monospace;
    color: #fff;
    border: none;
}

.alert-success {
    background-color: #388e3c;
    font-family: 'Fira Code', monospace;
    color: #fff;
    border: none;
}

/* Footer links */
.float-end a {
    color: #2e8b57;
    font-family: 'Fira Code', monospace;
}

.float-end a:hover {
    text-decoration: underline;
}

/* Responsive Cards */
@media (max-width: 768px) {
    .card {
        width: 90% !important;
    }
}
/* Style the file input */
input[type="file"] {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border: 1px solid #444;
    font-family: 'Fira Code', monospace;
    padding: 6px;
    border-radius: 4px;
}

/* Style the select dropdown (country) */
select.form-select {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border: 1px solid #444;
    font-family: 'Fira Code', monospace;
}

/* Make input placeholder text white */
input::placeholder, textarea::placeholder, select::placeholder {
    color: #ffffff !important;
    opacity: 1; /* Ensure full opacity */
}

/* Also make input text color white */
input, textarea, select {
    color: #ffffff;
}


.card, .frame {
    width: 36rem;   /* doubled width */
    height: 20rem;  /* doubled height */
    overflow: hidden;
}
.contact-info {
    background-color: #1c1c1c;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.7);
    font-family: 'Fira Code', monospace;
    color: #e0e0e0;
}

.contact-info strong {
    color: #00c48c;
}

.contact-link {
    color: #00c48c;
    text-decoration: none;
    font-weight: bold;
}

.contact-link:hover {
    text-decoration: underline;
    color: #009e6b;
}

ul.list-unstyled li {
    margin-bottom: 0.5rem;
}
.about-content {
    background-color: #1c1c1c;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.7);
    font-family: 'Fira Code', monospace;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Forum Cards */
.card {
    background-color: #1e1e1e;
    color: #e0e0e0;
    border-radius: 12px;
    border: 1px solid #2e2e2e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

.card-title {
    font-family: 'Fira Code', monospace;
    font-size: 1.5rem;
    font-weight: bold;
    color: #5cf076;
}

.card-text {
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
}

.btn-success {
    background-color: #4caf50;
    border: none;
    font-family: 'Fira Code', monospace;
    font-weight: bold;
}

.btn-success:hover {
    background-color: #43a047;
}

.text-muted {
    color: #aaaaaa !important;
}

/* Profile page specific */
.profile-container {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    max-width: 800px;
    margin: 30px auto;
}

.profile-container img {
    display: block;
    max-width: 200px;
    height: auto;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 3px solid #4CAF50;
}

.profile-container table {
    color: #e0e0e0;
    font-family: 'Fira Code', monospace;
}

.profile-container th, .profile-container td {
    padding: 12px;
}

.profile-buttons a {
    margin: 5px;
}
