/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
}

body {
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Header styles */
.header {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.title i {
    color: #ffd700;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Main content */
.main {
    flex: 1;
}

.converter-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 480px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.converter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.input-section {
    margin-bottom: 1.5rem;
}

.input-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.input-label i {
    color: #667eea;
}

.input-field {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fafbfc;
}

.input-field:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.input-field::placeholder {
    color: #999;
}

.convert-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.convert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.convert-btn:active {
    transform: translateY(0);
}

@media (max-width: 600px) {
    .converter-card {
        padding: 1rem;
        max-width: 98vw;
    }
    .title {
        font-size: 2rem;
    }
} 

/* Admin Metadata Styles */
.admin-metadata-wrapper {
    width: 100%;
    min-height: 100vh;
    background: #fff;
    padding: 2.5rem 2rem;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.no-list-style {
    padding-left: 0;
    list-style: none;
}

.admin-meta-item {
    margin-bottom: 2rem;
    list-style: none;
}

.admin-meta-card {
    background: #f8faff;
    border: 1.5px solid #e1e5e9;
    border-radius: 14px;
    padding: 1rem 1.5rem;
    margin-bottom: 0.5rem;
}

.admin-meta-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.admin-meta-input {
    max-width: 350px;
    display: block;
}

.admin-meta-separator {
    border-top: 2px solid #e1e5e9;
    margin: 1.5rem 0;
}

.admin-meta-delete {
    background: #f8d7da !important;
    color: #721c24 !important;
} 

/* SOP Category Dropdown Arrow */
.dropdown-arrow {
  display: inline-block;
  transition: transform 0.2s;
  font-size: 1.2em;
  vertical-align: middle;
} 