@font-face {
    font-family: 'Dana';
    src: url('../font/dana.woff2') format('woff2'),
         url('../font/dana.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Dana', sans-serif;
    background: #f4f6f8;
    direction: rtl;
}

/* Layout */
.container {
    display: flex;
    height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 220px;
    background-color: #2b7a78;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
}

.logo-box {
    margin-bottom: 30px;
}

.logo {
    width: 100px;
    height: auto;
    object-fit: contain;
}

.menu {
    list-style: none;
    padding: 0;
    width: 100%;
    text-align: right;
}

.menu li {
    margin: 0;
    padding: 0;
}

.menu a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.menu a:hover,
.menu a.active {
    background-color: rgba(255, 255, 255, 0.1);
    font-weight: bold;
}

/* User box */
.user-box {
    margin-top: auto;
    width: 100%;
    position: relative;
    text-align: center;
    padding: 20px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.user-name {
    color: #fff;
    font-size: 15px;
    font-weight: bold;
}

.user-menu {
    position: absolute;
    bottom: 10px;
    right: 10px;
    left: 10px;
    background: #205e5d;
    padding: 10px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.user-menu a {
    color: white;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.user-box:hover .user-menu {
    opacity: 1;
    visibility: visible;
}

/* Main content */
.main-content {
    flex: 1;
    padding: 40px;
    background-color: #f4f6f8;
    overflow-y: auto;
}

.main-content h1,
.main-content h2 {
    margin-bottom: 20px;
    color: #333;
}

/* Form */
form#transcribe-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #333;
}

.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    background-color: #fff;
}

/* Upload Box */
.upload-box {
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 50px 20px;
    text-align: center;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: border-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.upload-box:hover {
    border-color: #2b7a78;
}

.upload-icon {
    width: 48px;
    height: auto;
    margin-bottom: 12px;
}

.upload-instruction p {
    margin: 6px 0;
    color: #444;
    font-size: 14px;
}

/* Submit button */
.upload-btn {
    margin-top: 25px;
    padding: 14px 32px;
    background-color: #6c757d;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.upload-btn:hover {
    background-color: #5a6268;
}
