/* short-generator.page.scss */

ion-content {
    padding: 32px;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    font-family: 'Roboto', sans-serif;
    color: #333;
}


ion-input,
ion-textarea {
    margin-bottom: 32px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
    padding: 16px;
    font-size: 18px;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

ion-input:focus,
ion-textarea:focus {
    border-color: #007bff;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

ion-button {
    margin-top: 32px;
    --background: linear-gradient(to right, #007bff, #0056b3);
    --color: #fff;
    --border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

ion-button:hover {
    --background: linear-gradient(to right, #0056b3, #007bff);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.4);
}

.content-style {
    margin-top: 40px;
    padding: 32px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
}

/* Markdown Preview Styles */
.content-style ::ng-deep .markdown-body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    color: #333;
}

.content-style ::ng-deep h1 {
    font-size: 36px;
    color: #007bff;
    margin-bottom: 20px;
}

.content-style ::ng-deep h2 {
    font-size: 28px;
    color: #0056b3;
    margin-bottom: 16px;
}

.content-style ::ng-deep p {
    margin-bottom: 24px;
    font-size: 18px;
}

.content-style ::ng-deep a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-style ::ng-deep a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.content-style ::ng-deep ul,
.content-style ::ng-deep ol {
    margin-left: 32px;
    margin-bottom: 24px;
}

.content-style ::ng-deep li {
    margin-bottom: 16px;
    list-style-type: disc;
}

.content-style ::ng-deep blockquote {
    margin: 24px 0;
    padding-left: 24px;
    border-left: 4px solid #dee2e6;
    color: #6c757d;
    font-style: italic;
}

.content-style ::ng-deep code {
    background-color: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Roboto Mono', monospace;
}

.content-style ::ng-deep pre {
    background-color: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Roboto Mono', monospace;
    color: #333;
}