@font-face {
    font-family: 'Kruti010';
    src: url('../css/K010.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Kruti016';
    src: url('../css/K016.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    font-size: 26px;
}

.converter-header {
    padding: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.converter-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
    line-height: 1.5;
}

.converter-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 1rem;
}

.converter-actions button {
    padding: 0.4rem 0.8rem;
    border-radius: 0.3rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.converter-actions button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.converter-actions .btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.converter-actions .btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.converter-actions .btn-success:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.converter-actions button {
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.converter-actions button:hover {
    transform: translateY(-1px);
}

.converter-box-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1rem;
    padding: 1rem;
}

.converter-textarea {
    flex: 1;
    position: relative;
}

.converter-textarea textarea {
    width: 100%;
    height: 100%;
    padding: 1rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
    min-height: 200px;
}

.converter-actions {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-top: 1px solid #e9ecef;
}

#KrutiText {
    font-family: 'Kruti010' !important;
    font-size: 22px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#MangalText {
    font-size: 16px;
    line-height: 1.5;
}

.converter-box-content {
    position: relative;
    height: calc(100% - 100px);
    overflow: hidden;
}

.converter-box-content textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.second_row {
    height: 60%;
}

footer {
    font-size: 12px;
    color: brown;
}

.jumbotron {
    height: 10% !important;
}
