/* General Styles */
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background-color: #34495e;
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header .container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #f39c12;
}

header nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

header nav a:hover {
    color: #f39c12;
    transform: scale(1.1);
}

/* Main content */
main {
    padding: 40px 0;
}

.data-table-container {
    width: 80%;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.table-title {
    font-size: 32px;
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #34495e;
    color: white;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}

.btn-action {
    color: #34495e;
    text-decoration: none;
    padding: 8px 16px;
    background-color: #f39c12;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background-color: #e67e22;
    transform: scale(1.05);
}

.delete-link {
    color: red;
}

.delete-link:hover {
    color: #c0392b;
}

/* Footer */
footer {
    background-color: #34495e;
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* Responsiveness */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    header h1 {
        font-size: 24px;
    }

    header nav {
        margin-top: 10px;
    }

    header nav a {
        margin-left: 0;
        margin-right: 15px;
    }

    .data-table-container {
        width: 90%;
        padding: 30px;
    }

    .table-title {
        font-size: 28px;
    }

    table th, table td {
        padding: 10px;
    }
}

h1 {
    color: #333;
}

/* Action Links */
a.btn-action {
    color: #3498db;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #3498db;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

a.btn-action:hover {
    background-color: #2980b9;
    color: white;
}

a.delete-link {
    color: #e74c3c;
}

a.delete-link:hover {
    background-color: #c0392b;
    color: white;
}

/* No Data Message */
td[colspan="6"] {
    font-size: 16px;
    color: #888;
    text-align: center;
}

/* Form Styles */
.form-container {
    background-color: #ffffff;
    padding: 30px;
    margin: 50px auto;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 16px;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.3);
    outline: none;
}

/* Submit Button */
.btn-submit {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #2980b9;
}

@media screen and (max-width: 768px) {
    table {
        width: 100%;
        margin: 10px;
    }

    header, footer {
        padding: 15px 0;
    }

    header h1 {
        font-size: 28px;
    }

    nav a {
        margin: 0 10px;
    }

    footer p {
        font-size: 12px;
    }
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #343a40;
    color: white;
    padding: 20px 0;
}

header .container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 24px;
}

header nav a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    font-weight: 500;
}

header nav a:hover {
    color: #f39c12;
}

/* Main content */
main {
    padding: 40px 0;
}

.profil-container {
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profil-container h2 {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.profil-detail p {
    font-size: 18px;
    margin: 10px 0;
}

.profil-detail strong {
    color: #f39c12;
}

.profil-container p {
    font-size: 16px;
    color: #666;
}

/* Responsiveness */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    header h1 {
        font-size: 20px;
    }

    header nav {
        margin-top: 10px;
    }

    header nav a {
        margin-left: 0;
        margin-right: 15px;
    }

    .profil-container {
        width: 90%;
        padding: 20px;
    }

    .profil-container h2 {
        font-size: 24px;
    }

    .profil-detail p {
        font-size: 16px;
    }
}
