body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: #fff;
    padding: 20px;
}

.logo img {
    width: 100%;
    margin-bottom: 20px;
}

.user-info {
    text-align: center;
    margin-bottom: 30px;
}

.avatar i {
    font-size: 50px;
}

.user-details h3 {
    margin: 10px 0 5px;
    font-size: 18px;
}

.user-details p {
    margin: 0;
    font-size: 14px;
    color: #bdc3c7;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    margin-bottom: 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 5px;
}

nav ul li a:hover, nav ul li.active a {
    background-color: #3498db;
}

.main-content {
    flex: 1;
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.domain-info {
    display: flex;
    align-items: center;
}

.domain-info i {
    margin-right: 10px;
    color: #3498db;
}

.stats-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1;
    text-align: center;
}

.stat-icon i {
    font-size: 30px;
    color: #3498db;
    margin-bottom: 10px;
}

.stat-info h3 {
    margin: 0;
    font-size: 16px;
}

.stat-info p {
    margin: 5px 0 0;
    font-size: 24px;
    font-weight: bold;
}

.content-section {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.action-bar {
    margin-bottom: 20px;
}

.btn-action {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-action:hover {
    background-color: #2980b9;
}

.btn-action.btn-danger {
    background-color: #e74c3c;
}

.btn-action.btn-danger:hover {
    background-color: #c0392b;
}

.btn-install {
    background-color: #2ecc71;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-install:hover {
    background-color: #27ae60;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f4f4f4;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 600px;
    position: relative;
}

#loadingModal .modal-content {
    background-color: #000;
    color: #0f0;
    font-family: 'Courier New', Courier, monospace;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.input-prefix {
    display: flex;
    align-items: center;
}

.input-prefix input {
    flex: 1;
    border-right: none;
    border-radius: 5px 0 0 5px;
}

.input-prefix span {
    padding: 8px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-left: none;
    border-radius: 0 5px 5px 0;
}

.btn-submit, .btn-confirm {
    background-color: #2ecc71;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-submit:hover, .btn-confirm:hover {
    background-color: #27ae60;
}

.btn-cancel {
    background-color: #e74c3c;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-cancel:hover {
    background-color: #c0392b;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.info-card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.info-icon i {
    font-size: 40px;
    color: #3498db;
    margin-right: 20px;
}

.info-content {
    flex: 1;
}

#loadingModal .progress-details {
    max-height: 200px;
    overflow-y: auto;
    background-color: #000;
    color: #0f0;
    padding: 10px;
    border: 1px solid #0f0;
    margin-top: 10px;
}

#loadingModal .progress-details.script-output {
    background-color: #000;
    color: #0f0;
}

.progress-container {
    width: 100%;
    background-color: #333;
    border-radius: 5px;
    margin: 10px 0;
}

.progress-bar {
    width: 0;
    height: 20px;
    background-color: #0f0;
    border-radius: 5px;
    transition: width 0.5s ease-in-out;
}

.progress-bar.active {
    width: 100%;
    animation: progress 2s infinite;
}

@keyframes progress {
    0% { width: 0; }
    50% { width: 50%; }
    100% { width: 100%; }
}

.btn-close {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    background-color: #0f0;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-close:hover {
    background-color: #0c0;
}