/* Link Generator Specific Styles */
.generator-section {
    padding: 60px 0;
    background-color: white;
}

.generator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.input-section, .output-section {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.templates {
    margin-bottom: 25px;
}

.templates p {
    margin-bottom: 10px;
    font-weight: 500;
}

.template-btn {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px 10px 0;
    background-color: #f1f1f1;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.template-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

#generate-btn {
    margin-top: 10px;
    font-size: 18px;
    padding: 12px 20px;
}

.output-field {
    display: flex;
    margin-bottom: 25px;
}

.output-field input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.output-field button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.share-section p {
    margin-bottom: 15px;
    font-weight: 500;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

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

.reddit {
    background-color: #FF4500;
}

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

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

.buffer {
    background-color: #2C4BFF;
}

.pinterest {
    background-color: #E60023;
}

.tumblr {
    background-color: #35465C;
}

/* Success and Error Messages */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.alert-error {
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid var(--error-color);
    color: var(--error-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .generator-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .output-section {
        order: -1;
    }
}

@media (max-width: 576px) {
    .input-section, .output-section {
        padding: 20px;
    }
    
    .template-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
}
