
.gdrive-converter-frontend {
    max-width: 100%;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.gdrive-form-frontend {
    background: #ffffff;
    padding: 25px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.3s ease;
}

.gdrive-form-frontend:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.gdrive-title {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.4em;
    font-weight: 600;
    text-align: center;
}

.gdrive-description {
    color: #6c757d;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.5;
}

.gdrive-input-group {
    margin-bottom: 20px;
}

.gdrive-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

#gdrive-input-frontend {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

#gdrive-input-frontend:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.gdrive-button {
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 124, 186, 0.2);
    display: block;
    margin: 0 auto 20px;
}

.gdrive-button:hover {
    background: linear-gradient(135deg, #005a87 0%, #004666 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 124, 186, 0.3);
}

.gdrive-button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.gdrive-result-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

#result-link-frontend {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background: #ffffff;
    font-size: 13px;
    color: #495057;
    font-family: monospace;
}

.gdrive-copy-button {
    background: #28a745;
    border: none;
    color: white;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gdrive-copy-button:hover {
    background: #218838;
    transform: scale(1.05);
}

.gdrive-success {
    background: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #c3e6cb;
    margin-bottom: 10px;
}

.gdrive-success p {
    margin: 0;
    font-weight: 500;
}

.gdrive-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
    margin-bottom: 10px;
}

.gdrive-error p {
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .gdrive-form-frontend {
        padding: 20px 15px;
        margin: 15px 10px;
    }
    
    .gdrive-result-box {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .gdrive-copy-button {
        align-self: center;
        width: auto;
        padding: 10px 20px;
    }
    
    .gdrive-title {
        font-size: 1.2em;
    }
    
    .gdrive-button {
        padding: 12px 24px;
        font-size: 15px;
    }
}
