/* ====== General ====== */
.voice-container {
    max-width: 420px;
    margin: 60px auto;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    font-family: sans-serif;
}

.voice-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 24px;
    text-align: center;
}

/* ====== Inputs ====== */
.voice-input {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    margin-bottom: 16px;
    font-size: 15px;
}

.voice-input:focus {
    outline: none;
    border-color: #4f46e5;
}

/* ====== Button ====== */
.voice-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg,#6366f1,#4f46e5);
    border: none;
    border-radius: 12px;
    color: #fff !important
    font-size: 16px;
    cursor: pointer;
}

.voice-btn:hover {
    opacity: 0.9;
}

/* ====== Dashboard ====== */
.voice-dashboard {
    max-width: 900px;
    margin: 40px auto;
}

.voice-courses {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(260px,1fr));
    gap: 24px;
}

.voice-course-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform .2s;
}

.voice-course-card:hover {
    transform: translateY(-6px);
}

.voice-course-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
}
.voice-course-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 12px;
}

.voice-course-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    border-radius: 10px;
    background: #4f46e5;
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
}

/* ====== Single Course ====== */
.voice-lesson {
    background: #fff;
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.voice-lesson audio {
    width: 100%;
    margin-top: 10px;
}
