/* assets/css/style.css */

/* Reset some basic elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

a {
    color: #ffffff !important;
    text-decoration: none;
}

a:hover {
    color: #03dac6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 80px auto 10px auto;
    padding: 8px;
    background-color: #1e1e1e;
    border-radius: 8px;
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.7);*/
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #1f1f1f;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    z-index: 1000;
}
#navbarNav ul.navbar-nav {
    position: relative;
    list-style: none;
    display: flex;
    gap: 10px;
}

.navbar a {
    color: #e0e0e0;
    font-size: 16px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #03dac6;
}

.form-control[readonly] {
    background-color: #3a3a3a !important;
    opacity: 1;
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: #1f1f1f;
    position: fixed;
    bottom: 0;
    width: 100%;
}

h1, h2 {
    margin-bottom: 15px;
}

.admin-section, .user-section, .support-section {
    margin-bottom: 30px;
}

.admin-section ul, .user-section ul {
    list-style-type: none;
}

.admin-section ul li a, .user-section ul li a {
    font-size: 18px;
}

.admin-section ul li a:hover, .user-section ul li a:hover {
    color: #03dac6;
}

.sub-title {
    margin-bottom: 15px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    margin: 5px 0;
}

.btn-primary {
    background-color: #6200ea;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #3700b3;
}

.btn-info {
    background-color: #03dac6;
    color: #000000;
}

.btn-info:hover {
    background-color: #018786;
}

.btn-warning {
    background-color: #ff9800;
    color: #ffffff;
}

.btn-warning:hover {
    background-color: #f57c00;
}
.error {
    background-color: #ff4d4d;
    color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Success Message Styles */
.success {
    background-color: #4CAF50;
    color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}



/* Generate webhook page */

/* Container 
.container {
    width: 90%;
    max-width: 800px;
    margin: 80px auto 20px auto;
    padding: 20px;
    background-color: #2c2c2c;
    border-radius: 8px;
    color: #ffffff;
}
*/

/* Form Group */
.form-group {
    margin-bottom: 15px;
}

/* Labels */
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #555555;
    border-radius: 4px;
    background-color: #3a3a3a;
    color: #ffffff;
	font-size: 18px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    font-size: 16px;
}

.btn-primary {
    background-color: #027BFF;
    color: #ffffff;
	margin-bottom: 15px;
}

.btn-primary:hover {
    background-color: #018786;
}

.btn-info {
    background-color: #2196f3;
    color: #ffffff;
}

.btn-info:hover {
    background-color: #0b7dda;
}

.btn-success {
    background-color: #4caf50;
    color: #ffffff;
}

.btn-success:hover {
    background-color: #45a049;
}

/* Error Messages */
.error {
    background-color: #ff4d4d;
    color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.error ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* Success Messages 
.success {
    background-color: #4caf50;
    color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}
*/

/* Input Groups for Copy Functionality */
.input-group {
    display: flex;
    align-items: center;
}

.input-group input {
    flex: 1;
}

.input-group-append {
    margin-left: 10px;
}

/* Ensure the table doesn't exceed the container's width */
/* Ensure the table doesn't exceed the container's width */
.table-responsive {
    overflow-x: auto;
}

/* Handle text truncation and prevent overflow */
.table th, .table td {
    white-space: normal; /* Prevents text from wrapping */
    overflow: hidden;    /* Hides overflowed text */
    text-overflow: ellipsis; /* Adds ellipsis (...) for truncated text */
}

/* Specific styling for the Webhook URL column */
.table .token-column {
    max-width: 300px; /* Adjust the max-width as needed */
    /* Optional: Allow the URL to wrap on smaller screens */
    word-break: break-all; /* Breaks long words to prevent overflow */
}

/* Optional: Reduce padding for a more compact table */
.table th, .table td {
    padding: 0.5rem; /* Adjust padding as needed */
}

/* Ensure buttons don't cause overflow */
.table .btn {
    white-space: nowrap;
}
.table-dark a {
        color: #ffffff;
    }
.table-dark a:hover {
        color: #bb86fc; /* Optional: change color on hover */
    }

/* login page design */
.login-container {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100%; /* Full height to enable vertical centering */
        }

        .login-card {
            background-color: #1e1e1e;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
            width: 100%;
            max-width: 400px;
			position: absolute;
    		top: 30%;
        }
.login-card h2 {
            text-align: center;
            margin-bottom: 20px;
            color: #ffffff;
        }