/* Modern URL Shortener Styles */
.smart-url-shortener {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.smart-url-shortener:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    position: relative;
    transition: transform 0.2s ease;
}

.input-group:focus-within {
    transform: scale(1.01);
}

.input-group input {
    width: 100%;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.input-group input:focus {
    border-color: #2196F3;
    outline: none;
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
}

.email-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.notification-email {
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.notification-email:focus {
    border-color: #2196F3;
    outline: none;
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
}

.shorten-button {
    background: linear-gradient(45deg, #2196F3, #1976D2);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.shorten-button:hover {
    background: linear-gradient(45deg, #1976D2, #1565C0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3);
}

.shorten-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(33, 150, 243, 0.2);
}

.result-container {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.success {
    background: linear-gradient(145deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.1);
}

.error {
    background: linear-gradient(145deg, #ffebee, #ffcdd2);
    color: #c62828;
    box-shadow: 0 4px 15px rgba(198, 40, 40, 0.1);
}

.result-container a {
    color: #1976D2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.result-container a:hover {
    color: #1565C0;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .smart-url-shortener {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .input-group input,
    .notification-email,
    .shorten-button {
        padding: 14px;
        font-size: 15px;
    }
}