/* Genel Stil Ayarlar */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Stili */
header {
    background-color: #007bff;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    margin: 0;
}

header button {
    background-color: white;
    color: #007bff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

header button:hover {
    background-color: #e0e0e0;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

/* Konteyner Stili */
.container {
    flex: 1;
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
    background-color: white;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

/* Footer Stili */
footer {
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}

/* Form Stili */
form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

input[type="url"] {
    width: 60%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button[type="submit"] {
    background-color: #28a745;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button[type="submit"]:hover {
    background-color: #218838;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Tablo Stili */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}

th {
    background-color: #007bff;
    color: white;
    font-size: 16px;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:nth-child(odd) {
    background-color: #ffffff;
}

tr:hover {
    background-color: #e1f5fe;
}

/* Koyu Mod */
body.dark-mode {
    background-color: #121212;
    color: #f4f4f4;
}

body.dark-mode header,
body.dark-mode footer {
    background-color: #1e1e1e;
}

body.dark-mode .container {
    background-color: #1e1e1e;
    color: #f4f4f4;
}

body.dark-mode table {
    background-color: #2c2c2c;
}

body.dark-mode th {
    background-color: #444;
}

body.dark-mode tr:nth-child(even) {
    background-color: #2a2a2a;
}

body.dark-mode tr:nth-child(odd) {
    background-color: #3a3a3a;
}

.logout-button {
    background-color: #dc3545;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.logout-button:hover {
    background-color: #c82333;
}

#theme-toggle {
    background-color: white;
    color: #007bff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#theme-toggle:hover {
    background-color: #e0e0e0;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

#theme-toggle i {
    font-size: 20px; /* İkon boyutu */
}


/* Form Container Alignment */
form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* Domain Selection Style */
form select {
    height: 45px;
    width: 20%;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 0 10px;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* URL Input Style */
form input[type="url"] {
    width: 65%;
    height: 25px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Submit Button Style */
form button[type="submit"] {
    height: 45px;
    padding: 0 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

form button[type="submit"]:hover {
    background-color: #218838;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Centering the form within the container */
.container form {
    max-width: 800px;
    margin: 0 auto;
}

