* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #1a1a1a;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #ffffff;
}

#converter-container {
    background-color: #2d2d2d;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    position: relative;
    min-height: 300px;
    border: 1px solid #404040;
}

#text-input-box {
    width: 100%;
    height: 200px;
    padding: 12px;
    border: 1px solid #404040;
    border-radius: 5px;
    resize: none;
    font-family: inherit;
    margin-bottom: 1rem;
    font-size: 1rem;
    background-color: #1a1a1a;
    color: #e0e0e0;
}

#text-input-box::placeholder {
    color: #808080;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#download-pdf-button {
    background-color: #27ae60;
    font-size: 1.2rem;
    padding: 15px 30px;
    margin-bottom: 15px;
}

#download-pdf-button:hover {
    background-color: #219653;
}

#restart-btn {
    background-color: #404040;
}

#restart-btn:hover {
    background-color: #505050;
}

#loading-container, #download-container {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.hidden {
    display: none;
}

.spinner {
    border: 5px solid #404040;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#download-container p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #2d2d2d;
    color: #e0e0e0;
    margin-top: auto;
    border-top: 1px solid #404040;
}

/* Share Section Styles */
.share-section {
    margin-top: 20px;
    text-align: center;
}

.share-section p {
    margin-bottom: 15px;
    color: #b0b0b0;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.share-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.share-button i {
    font-size: 18px;
}

/* Social Media Colors */
.facebook {
    background-color: #1877f2;
}

.x-twitter {
    background-color: #000000;
}

.linkedin {
    background-color: #0077b5;
}

.whatsapp {
    background-color: #25d366;
}

.reddit {
    background-color: #ff4500;
}

.email {
    background-color: #ea4335;
}

.gmail {
    background-color: #4285F4;
}

.copy-link {
    background-color: #404040;
}

.copy-link:hover {
    background-color: #505050;
} 