/* Link Shortener Tool Specific Styles */
.tool-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tool-header h1 {
    color: #1976d2;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tool-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.tool-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(25, 118, 210, 0.1);
    padding: 2.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.label-text {
    display: block;
    color: #333;
    font-size: 1.1rem;
}

.label-hint {
    display: block;
    color: #666;
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 0.25rem;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    z-index: 1;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #1976d2;
    color: white;
    flex: 1;
}

.btn-primary:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
    flex: 1;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.result-section {
    margin-top: 2rem;
}

.result-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
}

.result-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.short-link-display {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.short-link-input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #1976d2;
    background: white;
}

.btn-copy {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem;
}

.btn-copy:hover {
    background: rgba(255, 255, 255, 0.3);
}

.result-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.tool-features {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.tool-features h3 {
    color: #1976d2;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature {
    text-align: center;
    padding: 1rem;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.feature h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .tool-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .tool-header h1 {
        font-size: 2rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .short-link-display {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}
