/* Basic CSS styles for the dashboard */
.dashboard-container {
    width: 80%;
    margin: 20px auto;
    background: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

header h1 {
    text-align: center;
    color: #333;
}

.automation-list {
    margin-top: 20px;
}

.automation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px 20px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease-in-out;
}


.automation-info h3 {
    margin: 0;
    color: #222;
    font-size: 10;
}

.automation-info p {
    margin: 5px 0 0;
    color: #666;
    font-size: 16px;
}

.subtitle h6 {
    padding-left: 25px;
    padding-bottom: 20px;
    margin-top: -20px;
    color: #222;
    font-size: 16px;
}

.automation-actions {
    display: flex;
    align-items: center;
}

/* Toggle switch styles */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin-right: 15px;
    margin-top: 10px;

}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #FB773C;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.hidden {
    display: none;
}

/* Edit button styles */
.edit-btn {
    background: #FB773C;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease-in-out;
}

.edit-btn:hover {
    background: #AD5229;
}
