/* Resetting some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #1c1c1c;
    padding: 20px 0;
    border-bottom: 2px solid #333;
}

header h1 {
    font-size: 2.5em;
    display: inline-block;
}

/* Navigation Menu */
nav {
    float: right;
}

nav a {
    margin: 0 15px;
    color: #ffa500; /* Orange color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #fff; /* White on hover or active */
}

nav a.active {
    font-weight: bold; /* Bold for active link */
}

/* Content Section */
.content {
    padding: 40px 0;
}

/* Footer Styles */
footer {
    padding: 20px 0;
    text-align: center;
    background-color: #1c1c1c;
    border-top: 2px solid #333;
    color: #ccc;
}

/* Enhanced Form and Input Styles */
.password-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

label {
    font-size: 1.1em;
    margin-bottom: 5px;
    color: #ccc; /* Light gray label */
}

input[type="text"],
input[type="url"],
textarea {
    padding: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #555;
    color: #fff;
    font-size: 1em;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

textarea {
    height: 100px;
    resize: none;
}

input[type="text"]:focus,
input[type="url"]:focus,
textarea:focus {
    border-color: #1abc9c;
    outline: none;
    box-shadow: 0 0 5px #1abc9c;
}

/* Enhanced Button Styles */
.submit-btn {
    padding: 10px 15px;
    font-size: 1.2em;
    color: #fff;
    background-color: #ffa500;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #000000;
}

.submit-btn:focus {
    outline: none;
    box-shadow: 0 0 5px #333333;
}

/* Placeholder Styles */
::placeholder {
    color: #ccc;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #1c1c1c;
    border: 1px solid #333;
}

th,
td {
    padding: 10px 15px;
    border-bottom: 1px solid #333;
    text-align: left;
    color: #e0e0e0;
}

th {
    background-color: #2a2a2a;
    font-weight: bold;
}

tbody tr:hover {
    background-color: #2a2a2a;
    transition: background-color 0.3s ease;
}

tbody tr:last-child td {
    border-bottom: none;
}

thead,
tfoot {
    background-color: #333;
}

/* Hyperlink Styles in Table */
td a {
    color: #ffa500; /* Orange color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

td a:hover {
    color: #fff; /* White on hover */
}

/* Alphabet Menu */
.alphabet-menu {
    padding: 10px;
    margin-bottom: 10px;
    background-color: #1c1c1c;
    border: 1px solid #333;
}

.alphabet-menu a {
    margin: 0 5px;
    color: #ffa500; /* Orange color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.alphabet-menu a:hover,
.alphabet-menu a:focus {
    color: #fff; /* White on hover */
}

/* Styling for the Select Dropdown */
select {
    appearance: none;
    background-color: #333; /* Dark background */
    color: #fff; /* White text */
    border: 1px solid #444; /* Dark border */
    padding: 10px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

select:focus {
    border-color: #1abc9c;
    box-shadow: 0 0 5px #1abc9c;
    outline: none;
}

/* Styling for the Dropdown Arrow */
select::-ms-expand {
    display: none; /* Remove default arrow in IE */
}

select:after {
    content: "?";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Styling for the Button */
button,
input[type="submit"],
input[type="button"] {
    background-color: #ffa500; /* Vibrant color */
    color: #fff; /* White text */
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background-color: #000000; /* Darker shade on hover */
}

button:focus,
input[type="submit"]:focus,
input[type="button"]:focus {
    outline: none;
    box-shadow: 0 0 5px #333333;
}

/* Optional: Increase Button Font Weight */
button {
    font-weight: bold;
}

/* Make the button text uppercase */
button,
input[type="submit"],
input[type="button"] {
    text-transform: uppercase;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    nav {
        float: none;
        text-align: center;
        margin-top: 20px;
    }

    nav a {
        margin: 0 10px;
    }

    .container {
        padding: 0 10px;
    }
}