<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="csrf-token" content="{{ csrf_token() }}">

    <title>Order Confirmation - Lindsay's Leather</title>

    <!-- Fonts -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Montserrat:wght@400;500&display=swap" rel="stylesheet">

    <!-- Scripts -->
    @vite(['resources/css/app.css', 'resources/js/app.js'])
    
    <style>
        * {
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Montserrat', sans-serif;
            background-color: #ffffff;
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow-x: hidden;
        }
        
        .confirmation-container {
            max-width: 500px;
            width: 100%;
            padding: 2rem;
            text-align: center;
        }
        
        .confirmation-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            padding: 2rem;
            text-align: center;
            border: 1px solid rgba(181, 112, 47, 0.1);
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
        }
        
        .confirmation-title {
            font-family: 'Lato', sans-serif;
            font-weight: 700;
            font-size: 2.25rem;
            color: #371C16;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }
        
        .confirmation-message {
            font-family: 'Montserrat', sans-serif;
            font-weight: 400;
            font-size: 1rem;
            color: #6b7280;
            margin-bottom: 2rem;
            line-height: 1.6;
            max-width: 300px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .lindsay-btn {
            font-family: 'Lato', sans-serif;
            font-weight: 600;
            border-radius: 8px;
            padding: 14px 24px;
            min-height: 48px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            background: #B5702F;
            color: white;
            width: 100%;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 0;
        }
        
        .lindsay-btn:hover {
            background: #371C16;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(181, 112, 47, 0.3);
        }
        
        .lindsay-btn:active {
            transform: translateY(0);
        }
        
        /* Button container for multiple buttons */
        .button-container {
            display: flex;
            flex-direction: column;
            gap: 0;
            width: 100%;
        }
        
        .button-container .lindsay-btn {
            margin-bottom: 0;
        }
        
        .button-container .lindsay-btn:not(:last-child) {
            margin-bottom: 12px;
        }
        
        /* Mobile Responsive */
        @media (max-width: 768px) {
            .confirmation-container {
                padding: 1rem;
            }
            
            .confirmation-card {
                padding: 1.5rem;
                margin: 0;
                border-radius: 8px;
                box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
            }
            
            .confirmation-title {
                font-size: 1.875rem;
                margin-bottom: 1rem;
            }
            
            .confirmation-message {
                font-size: 0.875rem;
                margin-bottom: 1.5rem;
                line-height: 1.5;
            }
            
            .lindsay-btn {
                padding: 16px 24px;
                min-height: 52px;
                font-size: 16px;
                margin-bottom: 0;
                width: 100%;
            }
            
            .button-container .lindsay-btn:not(:last-child) {
                margin-bottom: 16px;
            }
        }
        
        @media (max-width: 480px) {
            .confirmation-container {
                padding: 0.75rem;
            }
            
            .confirmation-card {
                padding: 1.25rem;
            }
            
            .confirmation-title {
                font-size: 1.5rem;
                margin-bottom: 0.75rem;
            }
            
            .confirmation-message {
                font-size: 0.8rem;
                margin-bottom: 1.25rem;
            }
            
            .lindsay-btn {
                padding: 18px 20px;
                min-height: 56px;
                font-size: 16px;
                margin-bottom: 0;
                width: 100%;
            }
            
            .button-container .lindsay-btn:not(:last-child) {
                margin-bottom: 20px;
            }
        }
        
        /* Very small screens */
        @media (max-width: 360px) {
            .confirmation-container {
                padding: 0.5rem;
            }
            
            .confirmation-card {
                padding: 1rem;
            }
            
            .confirmation-title {
                font-size: 1.25rem;
            }
            
            .confirmation-message {
                font-size: 0.75rem;
            }
            
            .lindsay-btn {
                padding: 20px 16px;
                min-height: 60px;
                font-size: 16px;
                margin-bottom: 0;
                width: 100%;
            }
            
            .button-container .lindsay-btn:not(:last-child) {
                margin-bottom: 24px;
            }
        }
    </style>
</head>
<body>
    <div class="confirmation-container">
        <div class="confirmation-card">
            <h1 class="confirmation-title">
                Thank You!
            </h1>
            <p class="confirmation-message">
                Your order has been received and will be crafted with care.
            </p>
            <a href="{{ route('student.index') }}" class="lindsay-btn">
                Create Another Order
            </a>
        </div>
    </div>
</body>
</html>
