.url-shortener-container {
    max-width: 100%;
/*     margin: 40px auto; */
    padding: 0 20px;
}

.url-shortener-form-wrapper {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.url-shortener-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    text-align: center;
}

.url-shortener-description {
    font-size: 16px;
    color: #666;
    margin: 0 0 32px 0;
    text-align: center;
}

.url-shortener-form {
    margin-bottom: 24px;
}

.url-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.url-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.url-input:focus {
    outline: none;
    border-color: #0066ff;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.btn-shorten {
    padding: 16px 32px;
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-shorten:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
}

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

.btn-shorten:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.url-error {
    padding: 12px 16px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    color: #c33;
    font-size: 14px;
}

.url-result {
    margin-top: 32px;
    padding: 32px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    border: 2px solid #bae6fd;
}

.result-header h3 {
    margin: 0 0 24px 0;
    font-size: 20px;
    color: #0c4a6e;
}

.short-url-display {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.short-url-output {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid #7dd3fc;
    border-radius: 12px;
    background: white;
    font-family: 'Courier New', monospace;
    color: #0066ff;
    font-weight: 600;
}

.btn-copy {
    padding: 16px 24px;
    background: white;
    border: 2px solid #7dd3fc;
    border-radius: 12px;
    color: #0066ff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-copy:hover {
    background: #0066ff;
    color: white;
    border-color: #0066ff;
}

.btn-copy.copied {
    background: #22c55e;
    border-color: #22c55e;
    color: white;
}

.original-url-info {
    margin-bottom: 24px;
    padding: 16px;
    background: white;
    border-radius: 8px;
}

.original-url-info small {
    display: block;
    color: #666;
    margin-bottom: 8px;
    font-size: 13px;
}

.original-url-display {
    color: #333;
    word-break: break-all;
    font-size: 14px;
}

.share-section {
    margin-bottom: 24px;
}

.share-section h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    color: #0c4a6e;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-whatsapp {
    background: #25D366;
}

.share-facebook {
    background: #1877F2;
}

.share-twitter {
    background: #1DA1F2;
}

.share-linkedin {
    background: #0A66C2;
}

.btn-create-another {
    width: 100%;
    padding: 14px;
    background: white;
    border: 2px solid #0066ff;
    border-radius: 12px;
    color: #0066ff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-create-another:hover {
    background: #0066ff;
    color: white;
}

@media (max-width: 768px) {
    .url-shortener-form-wrapper {
        padding: 24px;
    }
    
    .url-input-group {
        flex-direction: column;
    }
    
    .share-buttons {
        grid-template-columns: 1fr 1fr;
    }
}
