/* ================================================
   mtwasnTasks - Login Page Styles
   Version: 1.0
   Author: mtwasnTasks Team
   ================================================ */

/* ===== CSS Variables - Brand Colors ===== */
:root {
    /* Primary Brand Colors */
    --primary-color: #a559a3;
    --secondary-color: #4c489e;
    --accent-color: #f3965c;
    --dark-color: #0f0147;
    --light-color: #f3f1f1;
    
    /* Gradient Definitions */
    --gradient-primary: linear-gradient(135deg, #a559a3 0%, #4c489e 100%);
    --gradient-secondary: linear-gradient(135deg, #4c489e 0%, #0f0147 100%);
    --gradient-accent: linear-gradient(135deg, #f3965c 0%, #ff8a65 100%);
    --gradient-dark: linear-gradient(135deg, #0f0147 0%, #1a0a3e 100%);
    --gradient-glass: linear-gradient(135deg, rgba(165, 89, 163, 0.1) 0%, rgba(76, 72, 158, 0.1) 100%);
    
    /* Shadow Definitions */
    --shadow-sm: 0 2px 4px rgba(15, 1, 71, 0.08);
    --shadow-md: 0 4px 12px rgba(15, 1, 71, 0.12);
    --shadow-lg: 0 8px 24px rgba(15, 1, 71, 0.15);
    --shadow-xl: 0 12px 48px rgba(15, 1, 71, 0.18);
    --shadow-2xl: 0 24px 80px rgba(15, 1, 71, 0.25);
    --shadow-inner: inset 0 2px 4px rgba(15, 1, 71, 0.06);
    --shadow-glow: 0 0 40px rgba(165, 89, 163, 0.4);
    
    /* Typography */
    --font-arabic: 'IBM Plex Sans Arabic', sans-serif;
    --font-english: 'Poppins', sans-serif;
    --font-secondary: 'Manjari', sans-serif;
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
}

/* ===== Global Resets & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: inherit;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-arabic);
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-color);
    background: var(--gradient-secondary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* ===== Preloader Styles ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.spinner-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.spinner {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 2s linear infinite reverse;
}

.spinner::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: white;
    font-size: 18px;
    font-weight: 500;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== Animated Background ===== */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0.95;
}

/* Floating Shapes Animation */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    animation: float-random 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
    animation-duration: 25s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -100px;
    animation-delay: 5s;
    animation-duration: 20s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: 30%;
    animation-delay: 10s;
    animation-duration: 30s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    top: 20%;
    left: 50%;
    animation-delay: 15s;
    animation-duration: 22s;
}

.shape-5 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 20%;
    animation-delay: 8s;
    animation-duration: 18s;
}

@keyframes float-random {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(30px, -50px) rotate(120deg) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) rotate(240deg) scale(0.9);
    }
}

/* Particles Canvas */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* ===== Main Login Container ===== */
.login-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    min-height: 700px;
    width: 100%;
    animation: slideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== Left Side - Branding Section ===== */
.login-left {
    background: var(--gradient-secondary);
    padding: 60px;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate-slow 30s linear infinite;
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Brand Container */
.brand-container {
    position: relative;
    z-index: 2;
}

.brand-logo-wrapper {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.brand-logo {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.brand-logo i {
    font-size: 70px;
    color: white;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(165, 89, 163, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Brand Content */
.brand-content {
    text-align: center;
    margin-bottom: 50px;
}

.brand-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
    font-family: var(--font-english);
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, #f3965c 0%, #ffd89b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Features Showcase */
.features-showcase {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 15px;
    transition: var(--transition-medium);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-10px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 24px;
    color: white;
}

.feature-text h5 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
}

/* Testimonial Section */
.testimonial-section {
    margin-top: 40px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 25px;
    text-align: center;
}

.stars {
    margin-bottom: 15px;
}

.stars i {
    font-size: 18px;
    color: var(--accent-color);
    margin: 0 2px;
}

.testimonial-text {
    color: white;
    font-size: 16px;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-author strong {
    display: block;
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

/* Decorative Elements */
.decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.circle-element {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.circle-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 10%;
    animation: rotate-slow 20s linear infinite;
}

.circle-2 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 15%;
    animation: rotate-slow 15s linear infinite reverse;
}

.circle-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 5%;
    animation: rotate-slow 25s linear infinite;
}

/* ===== Right Side - Login Form ===== */
.login-right {
    padding: 60px;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: white;
}

.login-form-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

/* Form Header */
.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-family: var(--font-arabic);
}

.form-subtitle {
    font-size: 16px;
    color: #6c757d;
    font-weight: 400;
}

/* Form Styling */
.login-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.form-label i {
    font-size: 16px;
    margin-left: 8px;
    color: var(--secondary-color);
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
}

.form-control {
    width: 100%;
    height: 56px;
    padding: 12px 50px 12px 20px;
    font-size: 16px;
    font-weight: 400;
    color: var(--dark-color);
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: var(--transition-medium);
    font-family: var(--font-arabic);
}

.form-control:focus {
    outline: none;
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(165, 89, 163, 0.1);
}

.form-control.is-invalid {
    border-color: #dc3545;
    background: #fff5f5;
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

/* Input Icons */
.input-icon {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 20px;
    pointer-events: none;
    transition: var(--transition-fast);
}

.form-control:focus ~ .input-icon {
    color: var(--primary-color);
}

.toggle-password {
    cursor: pointer;
    pointer-events: all;
}

.toggle-password:hover {
    color: var(--primary-color);
}

/* Invalid Feedback */
.invalid-feedback {
    display: none;
    font-size: 12px;
    color: #dc3545;
    margin-top: 5px;
    padding-right: 5px;
}

.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

/* Custom Checkbox */
.custom-checkbox {
    display: flex;
    align-items: center;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-left: 0;
    margin-right: 10px;
    border: 2px solid #dee2e6;
    border-radius: var(--radius-sm);
    background: transparent;
    transition: var(--transition-fast);
    cursor: pointer;
}

.form-check-input:checked {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(165, 89, 163, 0.1);
}

.form-check-label {
    font-size: 14px;
    color: #6c757d;
    cursor: pointer;
    user-select: none;
}

/* Forgot Link */
.forgot-link {
    font-size: 14px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.forgot-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    height: 56px;
    padding: 0 30px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(165, 89, 163, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-text {
    display: inline-block;
}

.btn-loader {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loader {
    display: inline-block;
}

.btn-icon {
    margin-right: 10px;
    font-size: 20px;
}

.spin {
    animation: spin 1s linear infinite;
}

/* Divider */
.divider {
    text-align: center;
    position: relative;
    margin: 30px 0;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background: #dee2e6;
}

.divider::before {
    right: 0;
}

.divider::after {
    left: 0;
}

.divider span {
    display: inline-block;
    padding: 0 15px;
    background: white;
    color: #6c757d;
    font-size: 14px;
    position: relative;
}

/* Social Login */
.social-login {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.btn-social {
    height: 48px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-social:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-social img {
    width: 20px;
    height: 20px;
}

.btn-social span {
    font-size: 11px;
    font-family: var(--font-secondary);
}

/* Sign Up Link */
.signup-link {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.signup-link p {
    font-size: 15px;
    color: #6c757d;
    margin: 0;
}

.create-account-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.create-account-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Form Footer */
.form-footer {
    margin-top: 40px;
    text-align: center;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    font-size: 13px;
    color: #6c757d;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.separator {
    margin: 0 10px;
    color: #dee2e6;
}

.copyright p {
    font-size: 12px;
    color: #adb5bd;
    margin: 0;
}

/* ===== Responsive Design ===== */
@media (max-width: 1399px) {
    .login-left {
        padding: 50px;
    }
    
    .login-right {
        padding: 50px;
    }
    
    .brand-title {
        font-size: 42px;
    }
}

@media (max-width: 1199px) {
    .login-left {
        padding: 40px;
    }
    
    .login-right {
        padding: 40px;
    }
    
    .brand-logo {
        width: 140px;
        height: 140px;
    }
    
    .brand-logo i {
        font-size: 60px;
    }
}

@media (max-width: 991px) {
    .features-showcase {
        display: none;
    }
    
    .testimonial-section {
        display: none;
    }
    
    .brand-title {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .login-card {
        border-radius: var(--radius-xl);
        min-height: auto;
    }
    
    .login-left {
        padding: 40px 30px;
        min-height: 300px;
    }
    
    .login-right {
        padding: 40px 30px;
        min-height: auto;
    }
    
    .brand-logo {
        width: 120px;
        height: 120px;
    }
    
    .brand-logo i {
        font-size: 50px;
    }
    
    .brand-title {
        font-size: 32px;
    }
    
    .brand-subtitle {
        font-size: 16px;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .social-login {
        grid-template-columns: 1fr;
    }
    
    .decorative-elements {
        display: none;
    }
}

@media (max-width: 575px) {
    .login-wrapper {
        padding: 15px;
    }
    
    .login-left {
        padding: 30px 20px;
    }
    
    .login-right {
        padding: 30px 20px;
    }
    
    .brand-logo {
        width: 100px;
        height: 100px;
    }
    
    .brand-logo i {
        font-size: 40px;
    }
    
    .brand-title {
        font-size: 28px;
    }
    
    .form-control {
        height: 50px;
        font-size: 14px;
    }
    
    .submit-btn {
        height: 50px;
        font-size: 16px;
    }
}

/* ===== Print Styles ===== */
@media print {
    .login-wrapper {
        display: none;
    }
}

/* ===== Animations Library ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.3);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* ===== Utility Classes ===== */
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-left { text-align: left !important; }

.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.fw-light { font-weight: 300 !important; }
.fw-normal { font-weight: 400 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-block { display: inline-block !important; }