/* 
   All button variants used across the site
  */
 
/* pill buttons*/
.add-user-btn, .btn-primary, .update-btn, .btn-danger {
    border-radius: 50px; 
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.9rem; 
    cursor: pointer;
    transition: all 0.3s ease; 
    border: none;
    text-align: center;
    display: inline-block;
}
 
.add-user-btn, .update-btn, .btn-primary {
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}
 
.add-user-btn:hover, .btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}
 
/* danger button */
.btn-danger {
    background: transparent;
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
}
 
.btn-danger:hover {
    background: #ff4d4d;
    color: white;
}
 
 
.btn-danger-outline {
    border-radius: 50px;
    padding: 10px 25px;
    background: transparent;
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
    font-weight: bold;
    cursor: pointer;
}
 
.btn-danger-outline:hover {
    background: #ff4d4d;
    color: white;
}
 
.btn-blueupdate-outline {
    border-radius: 50px;
    padding: 10px 25px;
    background: transparent;
    border: 1px solid #007bff;
    color: #007bff;
    font-weight: bold;
    cursor: pointer;
}
 
.btn-blueupdate-outline:hover {
    background: #007bff;
    color: white;
}
 
.btn-outline-red {
    background: transparent;
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    font-weight: bold;
}
 
.btn-outline-red:hover {
    background: rgba(255, 77, 77, 0.1);
    border-color: #ff3333;
}
 
/* solid pill blue */
.pill-btn-blue {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50px; 
    padding: 12px 28px;
    font-weight: bold;
    font-size: 0.85rem;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
}
 
.pill-btn-blue:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}
 
/* generic pill  */
.btn-pill {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
 
.btn-pill, .btn-primary-add, .btn-export {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px; 
    border-radius: 50px; 
    font-weight: 700; 
    font-size: 0.9rem;
    cursor: pointer; 
    transition: all 0.2s ease; 
    border: none;
    white-space: nowrap;
    text-align: center;
}
 
.btn-primary-add, .btn-export, .btn-primary { 
    background: #007bff; 
    color: white; 
}
 
.btn-primary-add:hover, .btn-export:hover, .btn-primary:hover { 
    background: #0056b3; 
    transform: translateY(-1px); 
}
 
.btn-primary {
    background: #007bff;
    color: white;
}
 
.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}
 
/* neutral */
.btn-secondary {
    background: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}
 
.btn-secondary, .btn-edit { 
    background: #1a1a1a; 
    color: #fff; 
    border: 1px solid #333; 
}
 
/* --- Edit / cancel-course small buttons --- */
.btn-edit {
    background: #333;
    border: 1px solid #444;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 8px;
    font-size: 0.8rem;
}
 
.btn-edit { margin-right: 12px; }
 
.btn-edit:hover { background: #444; border-color: #007bff; }
 
.btn-cancel-course {
    background: transparent;
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}
 
.btn-cancel-course:hover { background: #ff4d4d; color: #fff; }
 
/* manage button */
.btn-manage { background: transparent; border: 1px solid #444; color: #888; padding: 6px 14px; border-radius: 4px; cursor: pointer; }
 
/*export button*/
.btn-export { 
    background: #007bff; 
    color: white; 
    border: none; 
    padding: 12px 25px; 
    border-radius: 8px; 
    font-weight: bold; 
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
 
/* modal cancel / confirm */
.btn-cancel {
    flex: 1;
    background: #333;
    border: 1px solid #555;
    color: white;
    padding: 10px 24px;
    border-radius: 8px; 
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
 
.btn-cancel:hover {
    background: #444;
    border-color: #777;
}
 
.btn-confirm {
    flex: 1;
    background: #d32f2f;
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
 
.btn-confirm:hover {
    background: #b71c1c;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}
 
 
.remove-btn {
    background: transparent;
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
    padding: 10px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}
 
.remove-btn:hover { background: #ff4d4d; color: white; }
/* admin-courses Edit/Delete button overrides */
.btn-pill.btn-edit {
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 0.85rem;
    margin-right: 0;
}
 
.btn-pill.btn-delete {
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 0.85rem;
    background: transparent;
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
}
 
.btn-pill.btn-delete:hover {
    background: #ff4d4d;
    color: white;
}


.btn-edit,
.btn-export {
    border-radius: 50px;
}

.btn-edit {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.mgmt-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}