body {
    min-height: 100vh;
}
.card {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: none;
    overflow: hidden;
    transition: transform 0.3s;
    background: rgba(255, 255, 255, 0.93);
}

.card-header {
    background: linear-gradient(to right, #4b6cb7, #182848);
    color: white;
    font-weight: 600;
    padding: 20px;
    border-radius: 15px 15px 0 0 !important;
}

.btn-primary {
    background: linear-gradient(to right, #4b6cb7, #182848);
    border: none;
    padding: 10px 20px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(to right, #3a5ba0, #121f3d);
    transform: scale(1.05);
}

.btn-outline-secondary {
    transition: all 0.3s;
}

.result-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    min-height: 150px;
    border: 1px solid #e9ecef;
    font-size: 1.1rem;
    line-height: 1.6;
}

.feature-icon {
    font-size: 2.5rem;
    color: #4b6cb7;
    margin-bottom: 15px;
}

.example-text {
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px dashed #6c757d;
}

.example-text:hover {
    color: #4b6cb7;
    border-bottom: 1px dashed #4b6cb7;
}

.footer {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
}

.text-reversed {
    color: #d63384;
    font-weight: bold;
}

.text-mirrored {
    color: #0d6efd;
    font-weight: bold;
}

.flip-horizontal {
    display: inline-block;
    transform: scaleX(-1);
}

.card-body h5 {
    color: #4b6cb7;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.copy-btn {
    position: absolute;
    top: 15px;
    right: 15px;
}