/* Feature specific styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #0070f3;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    margin-right: 10px;
    font-weight: 500;
}

.btn:hover {
    background: #005bb5;
}

/* Form Styles */
form {
    max-width: 600px;
    margin: 0 auto;
}

form label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    color: #444;
}

form input[type="text"],
form input[type="number"],
form input[type="email"],
form input[type="password"],
form textarea,
form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 5px;
    box-sizing: border-box;
    font-size: 1rem;
}

form textarea {
    height: 100px;
    font-family: inherit;
}

.exercise-item {
    background: white;
    padding: 10px;
    border: 1px solid #eee;
    margin-bottom: 5px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.exercise-item button {
    background: #ff4d4f;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

/* Timetable inputs */
#timetable-form input {
    margin: 0;
}

/* Mobile Responsive Adjustments */
@media (max-width: 600px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .exercise-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .actions button, .actions a {
        width: 100%;
        text-align: center;
        margin-right: 0 !important;
        margin-left: 0 !important;
        margin-bottom: 5px;
        box-sizing: border-box;
    }

    div[style*="display:flex; justify-content:space-between"] {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }
}